X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;f=routes%2Fweb.php;h=375962dd7a05b47ee449a3f3049fad36df2bafba;hb=8f8c68f00151100f2a2fa535492847ddb6b7029a;hp=450d21f5ab5b2dcc50ca20cfa5c2dc58dc8ba74a;hpb=899836047a90ee13a489142e9b0b70327674e831;p=alttp.git diff --git a/routes/web.php b/routes/web.php index 450d21f..375962d 100644 --- a/routes/web.php +++ b/routes/web.php @@ -17,6 +17,10 @@ use Illuminate\Support\Facades\Route; Route::get('/sitemap.xml', [SitemapXmlController::class, 'index']); +Route::domain(config('aos.hostname'))->group(function() { + Route::view('/{path?}', 'aos')->where('path', '.*'); +}); + Route::view('/{path?}', 'app')->where('path', '.*'); Route::group(['prefix' => config('larascord.prefix'), 'middleware' => ['web']], function() {