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

Bundle.js is read as an HTML file occasionally #1

Closed
ayip001 opened this issue Dec 22, 2017 · 2 comments
Closed

Bundle.js is read as an HTML file occasionally #1

ayip001 opened this issue Dec 22, 2017 · 2 comments
Labels

Comments

@ayip001
Copy link
Owner

ayip001 commented Dec 22, 2017

Bundle.js is read as an HTML file when there are 3 or more slashes in the path
Works as intended:
ayip.io/a,
ayip.io/a/b
Issue occurs:
ayip.io/a/b/
ayip.io/a/b/c
Video demonstration

@bvarjavand
Copy link

@ayip001
Copy link
Owner Author

ayip001 commented Dec 23, 2017

Commit 360885a fixes it
Just added a preceding slash in the reference path, i.e.:
src="../dist/bundle.js" -> src="/../dist/bundle.js"

@ayip001 ayip001 closed this as completed Dec 23, 2017
@ayip001 ayip001 added the bug label Jan 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants