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