Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changing route_prefix to a path makes plugins and themes stop working #28

Closed
fronbow opened this issue Mar 7, 2024 · 3 comments
Closed

Comments

@fronbow
Copy link

fronbow commented Mar 7, 2024

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

@onecentlin
Copy link
Owner

@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

@acid23m
Copy link

acid23m commented Mar 10, 2024

I updated nginx conf to fix:

# adminer
location ~ adminer.css$ {
  access_log off;
  log_not_found off;
  try_files $uri /adminer.css;
}

@fronbow
Copy link
Author

fronbow commented Mar 11, 2024

@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

Cheers, that sorted it :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants