Skip to content

Commit

Permalink
fix: duplicate route names
Browse files Browse the repository at this point in the history
  • Loading branch information
joelbutcher authored Nov 6, 2023
1 parent 5f36e56 commit 5197a75
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 @@ -5,6 +5,5 @@

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

0 comments on commit 5197a75

Please sign in to comment.