From 4b0c810c9bcfdd6a5b9d01e59ad127d6732e6dc1 Mon Sep 17 00:00:00 2001 From: Ash Monsh Date: Wed, 18 Oct 2023 19:50:32 +0300 Subject: [PATCH] allow to configure a domain --- config/zeus-sky.php | 2 ++ routes/web.php | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/config/zeus-sky.php b/config/zeus-sky.php index 761c1fd..548ca33 100644 --- a/config/zeus-sky.php +++ b/config/zeus-sky.php @@ -1,6 +1,8 @@ null, + /** * set the default path for the blog homepage. */ diff --git a/routes/web.php b/routes/web.php index 8f3faee..37a6120 100644 --- a/routes/web.php +++ b/routes/web.php @@ -13,8 +13,9 @@ $filament = app('filament'); -Route::prefix(config('zeus-sky.prefix')) +Route::domain(config('zeus-sky.domain')) ->middleware(config('zeus-sky.middleware')) + ->prefix(config('zeus-sky.prefix')) ->group(function () { if (in_array('faq', config('zeus-sky.uri'))) {