-
Notifications
You must be signed in to change notification settings - Fork 9
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
Live server redirects static assets to wrong links #138
Comments
I find it weird that it goes back to the logo again; it should go back to the original route. That seems to be another bug. It happens even after #139 |
After the PR I see it behaving correctly in Firefox, and in Chrome too, but in Chrome the address is changed back to the original route while the page itself does not change. Is this what you see? |
Describe the bug
When clicking on anchor links that point to static files (
AssetStatic
) on the live server, the browser is redirected to the wrong address.To Reproduce
Steps to reproduce the behavior:
ema-template
/static/logo.svg
decodeRoute returned Nothing
errorNote: the right
/logo.svg
path gets inserted into history, so pressing the back button makes the logo display as expected.Expected behavior
Browser should be redirected to the
/logo.svg
link and logo displayed.Desktop (please complete the following information):
Additional context
This is a bug related to the live server, since disabling JS on the browser fixes the issue. This also explains why like images, stylesheets and scripts get loaded without problems.
The text was updated successfully, but these errors were encountered: