Skip to content
This repository was archived by the owner on Feb 9, 2024. It is now read-only.

fix URL parsing in serveSinglePageApp #82

Merged
merged 1 commit into from
Mar 31, 2020

Conversation

kristianfreeman
Copy link
Contributor

this fixes an issue in serveSinglePageApp where the raw request.url string is being used as part of a conditional to retrieve static content - if a query parameter is set, it breaks the URL lookup. credit to @sgiacosa who wrote this code in #72 - this PR is a very slight adaptation of his code sample!

closes #72

this fixes an issue in serveSinglePageApp where the raw `request.url` string is being used as part of a conditional to retrieve static content - if a query parameter is set, it breaks the URL lookup. credit to @sgiacosa who wrote this code in cloudflare#72 - this PR is a _very slight_ adaptation of his code sample!

closes cloudflare#72
@exvuma exvuma merged commit acffe64 into cloudflare:master Mar 31, 2020
@pilwon
Copy link

pilwon commented Apr 7, 2020

@signalnerve @victoriabernard92 Please consider releasing a new version with this bug fix. Thank you-

@exvuma
Copy link
Contributor

exvuma commented Apr 7, 2020

@pilwon working to release this week sorry for the delay!

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

Successfully merging this pull request may close these issues.

serveSinglePageApp can not use with query strings
3 participants