Skip to content

Commit

Permalink
Fix duplicate routes bug
Browse files Browse the repository at this point in the history
  • Loading branch information
joelbutcher authored Sep 13, 2023
1 parent dd9d49b commit c4aa69a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions routes/socialstream.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@

Route::group(['middleware' => config('socialstream.middleware', ['web'])], function () {
Route::get('/oauth/{provider}', [OAuthController::class, 'redirectToProvider'])->name('oauth.redirect');
Route::get('/oauth/{provider}/callback', [OAuthController::class, 'handleProviderCallback'])->name('oauth.callback');
Route::post('/oauth/{provider}/callback', [OAuthController::class, 'handleProviderCallback'])->name('oauth.callback');
Route::any('/oauth/{provider}/callback', [OAuthController::class, 'handleProviderCallback'])->name('oauth.callback');

if (config('jetstream.stack') === 'inertia') {
Route::delete('/user/connected-account/{id}', [RemoveConnectedAccountsController::class, 'destroy'])
Expand Down

0 comments on commit c4aa69a

Please sign in to comment.