Dashboard - 404 error

Hi, I am getting strange error when try to open dashboard I get 404, but custom routes setup in route.php are working fine. I have the following settings in my .env. (all environement variables resolve correctly checked already).
# Twill Specific
ADMIN_APP_URL=${APP_URL} # Resolves correctly to admin.devdomain.test
ADMIN_APP_PATH=/
# Twill Specific
ADMIN_APP_URL=${APP_URL} # Resolves correctly to admin.devdomain.test
ADMIN_APP_PATH=/
Here is my route list, am I missing something?
GET|HEAD admin.devdomain.test/ ................ admin.dashboard › A17\Twill › DashboardController@index
GET|HEAD api/posts ...................................................... Admin\PostController@getPosts
GET|HEAD api/posts/{post} ................................................ Admin\PostController@getPost
GET|HEAD admin.devdomain.test/ ................ admin.dashboard › A17\Twill › DashboardController@index
GET|HEAD api/posts ...................................................... Admin\PostController@getPosts
GET|HEAD api/posts/{post} ................................................ Admin\PostController@getPost
All api routes work without issue. Database connection works as well checked it with tinker and test route. Php configuration tested and definetly working. One more little important part of information if I do APP_ENV=local routes work but for APP_ENV=production it doesn't. Thank you in advance. I am using Twill 2@2.9.1
1 Reply
ifox
ifox10mo ago
Did you try route:clear?