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 - - - - - - - - - -
- @if (Route::has('login')) -
- @auth - Home - @else - Log in - - @if (Route::has('register')) - Register - @endif - @endauth -
- @endif - -
-
- - - -
- - - -
- - -
- Laravel v{{ Illuminate\Foundation\Application::VERSION }} (PHP v{{ PHP_VERSION }}) -
-
-
-
- - diff --git a/routes/web.php b/routes/web.php index d259f33..83469ef 100644 --- a/routes/web.php +++ b/routes/web.php @@ -12,7 +12,3 @@ | be assigned to the "web" middleware group. Make something great! | */ - -Route::get('/', function () { - return view('welcome'); -});