X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;f=routes%2Fweb.php;h=375962dd7a05b47ee449a3f3049fad36df2bafba;hb=9fba7a05c1aba4b8d3be892c8b29c604ba4ae484;hp=450d21f5ab5b2dcc50ca20cfa5c2dc58dc8ba74a;hpb=6609e9cbc3c9d3f9a7f0b2db9d8407f56957cef5;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() {