X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;ds=sidebyside;f=routes%2Fweb.php;h=903ca72c0694d6e4dfc3b3499978df73e99c5109;hb=d1f28ea443b090c7593791eba9631796ccaeafe1;hp=ed62f1017910f25fb2adf2d6b66bfc9aea779bbe;hpb=78ee3a45427e1227013773b2a1c19fc1ee0efc12;p=alttp.git diff --git a/routes/web.php b/routes/web.php index ed62f10..903ca72 100644 --- a/routes/web.php +++ b/routes/web.php @@ -1,5 +1,6 @@ where('path', '.*'); + +Route::group(['prefix' => config('larascord.prefix'), 'middleware' => ['web']], function() { + Route::get('/callback', [DiscordController::class, 'handle']) + ->name('larascord.login'); + + Route::redirect('/refresh-token', '/login') + ->name('larascord.refresh_token'); +});