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

[bugfix] Fix bug where admin panel could not be accessed at /admin #427

Merged
merged 2 commits into from
Mar 13, 2022

Conversation

tsmethurst
Copy link
Contributor

This PR fixes a bug where the admin panel was not accessible at /admin but was accessible at /admin/. The fix just adds a 301 redirect from /admin to /admin/, in a similar style to how admin panel access already worked at /assets/admin.

Also tidy up some of the serving logic by using absolute paths where appropriate.

Closes #377

@tsmethurst tsmethurst merged commit 4b4c935 into main Mar 13, 2022
@tsmethurst tsmethurst deleted the admin_trailing_slash_fix branch March 13, 2022 17:35
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

Successfully merging this pull request may close these issues.

[bug] Loading asset directories requires trailing slash
1 participant