diff --git a/.env.example b/.env.example index 9bb1bd7c..c8e87077 100755 --- a/.env.example +++ b/.env.example @@ -3,7 +3,7 @@ APP_ENV=local APP_KEY= APP_DEBUG=true APP_URL=http://localhost - +BACKEND_URI=admin LOG_CHANNEL=stack LOG_DEPRECATIONS_CHANNEL=null LOG_LEVEL=debug diff --git a/config/backpack/base.php b/config/backpack/base.php index a51889a8..cd5ed9b6 100755 --- a/config/backpack/base.php +++ b/config/backpack/base.php @@ -174,7 +174,7 @@ // The prefix used in all base routes (the 'admin' in admin/dashboard) // You can make sure all your URLs use this prefix by using the backpack_url() helper instead of url() - 'route_prefix' => 'admin', + 'route_prefix' => env('BACKEND_URI','admin'), // The web middleware (group) used in all base & CRUD routes // If you've modified your "web" middleware group (ex: removed sessions), you can use a different diff --git a/resources/views/welcome.blade.php b/resources/views/welcome.blade.php index dd6a45db..8f9a250f 100755 --- a/resources/views/welcome.blade.php +++ b/resources/views/welcome.blade.php @@ -1,132 +1,16 @@ - - -
- - +@extends('errors.layout') -