Changing route_prefix to a path makes plugins and themes stop working
Hi
So, I changed the config file
'route_prefix' => env('ADMINER_ROUTE_PREFIX', 'admin/adminer'),
as I like to have admin tools in the admin route and now the adminer.css file fails to load.
If I change the route back to adminer then it works as intended.
Cheers
@fronbow You may create admin folder under public folder, and move adminer.css file into admin folder
It will auto load the style from path /admin/adminer.css
I updated nginx conf to fix:
# adminer
location ~ adminer.css$ {
access_log off;
log_not_found off;
try_files $uri /adminer.css;
}
@fronbow You may create
adminfolder underpublicfolder, and moveadminer.cssfile intoadminfolder It will auto load the style from path/admin/adminer.css
Cheers, that sorted it :-)