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

Fix path extension parsing #228

Merged
merged 1 commit into from
Jun 28, 2020
Merged

Conversation

davnn
Copy link

@davnn davnn commented Apr 14, 2020

Currently some paths are not served correctly, e.g. "/main.js?v1" or "/main.js?v1.xml". This PR fixes these issues by taking into consideration characters that might come after the file extension.

@netlify
Copy link

netlify bot commented Apr 14, 2020

Deploy request for elm-live pending review.

Review with commit 028609d

https://app.netlify.com/sites/elm-live/deploys

@wking-io wking-io merged commit f9c760a into wking-io:master Jun 28, 2020
@wking-io
Copy link
Owner

I guess this makes sense since the path module from Node would not account for query strings or hashes that a URL could have! Thanks for catching this and make the fix.

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.

None yet

2 participants