diff --git a/app/Providers/Filament/AdminPanelProvider.php b/app/Providers/Filament/AdminPanelProvider.php index 058efbb..e11101b 100644 --- a/app/Providers/Filament/AdminPanelProvider.php +++ b/app/Providers/Filament/AdminPanelProvider.php @@ -25,7 +25,7 @@ public function panel(Panel $panel): Panel return $panel ->default() ->id('admin') - ->path('admin') + ->path(config('warehouse.admin.path')) ->login() ->colors([ 'primary' => Color::Amber, diff --git a/config/filesystems.php b/config/filesystems.php index 80b7818..5163f89 100644 --- a/config/filesystems.php +++ b/config/filesystems.php @@ -32,7 +32,7 @@ 'local' => [ 'driver' => 'local', - 'root' => env('WAREHOUSE_STORAGE_PATH', storage_path('app')), + 'root' => config('warehouse.storage.path'), 'throw' => false, ], diff --git a/config/warehouse.php b/config/warehouse.php new file mode 100644 index 0000000..7e08a25 --- /dev/null +++ b/config/warehouse.php @@ -0,0 +1,11 @@ + [ + 'path' => env('WAREHOUSE_STORAGE_PATH', storage_path('app')), + ], + + 'admin' => [ + 'path' => env('WAREHOUSE_ADMIN_PATH', '/'), + ], +]; diff --git a/resources/views/welcome.blade.php b/resources/views/welcome.blade.php deleted file mode 100644 index 638ec96..0000000 --- a/resources/views/welcome.blade.php +++ /dev/null @@ -1,140 +0,0 @@ - - -
- - - -- Laravel has wonderful documentation covering every aspect of the framework. Whether you are a newcomer or have prior experience with Laravel, we recommend reading our documentation from beginning to end. -
-- Laracasts offers thousands of video tutorials on Laravel, PHP, and JavaScript development. Check them out, see for yourself, and massively level up your development skills in the process. -
-- Laravel News is a community driven portal and newsletter aggregating all of the latest and most important news in the Laravel ecosystem, including new package releases and tutorials. -
-