X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;f=routes%2Fweb.php;h=450d21f5ab5b2dcc50ca20cfa5c2dc58dc8ba74a;hb=7caf2ef743d7eeb9adf8494b1d194998886226e8;hp=ed62f1017910f25fb2adf2d6b66bfc9aea779bbe;hpb=78ee3a45427e1227013773b2a1c19fc1ee0efc12;p=alttp.git diff --git a/routes/web.php b/routes/web.php index ed62f10..450d21f 100644 --- a/routes/web.php +++ b/routes/web.php @@ -1,5 +1,7 @@ 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'); +});