serveSinglePageApp can not use with query strings
See original GitHub issueI have a website in Angular and it is published using workers KV.
With version 0.0.7 I use serveSinglePageApp. It works when the url is like
mysite.com/buy/item
but if the url is like
mysite.com/buy/item?id=1234
it get an “could not find buy/item/index.html in your content namespace”
I know that the best design should be buy/item/1234 but i can not manage that because I need to manage externals responses to my site so I can not change that way.
Is any way to solve this?
Thanks in advance! Sebastián
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (5 by maintainers)
Top Results From Across the Web
Cloudflare with "always use https" on breaks url and removes ...
I ran into this problem of Cloudflare dropping query strings and got around it by not using the Always uses https option. Instead...
Read more >Passing Information via Query Strings - Qualtrics
A query string allows you to pass information to and from a website by simply adding, or “appending,” that information to the end...
Read more >Caching content based on query string parameters
Some web applications use query strings to send information to the origin. ... If you don't forward query strings, CloudFront doesn't cache based...
Read more >What Are Query Strings & Parameters - How to Optimize
a query on using query parameters title graphic. A website isn't a static brochure — or at least it shouldn't be. Your site...
Read more >Query string query | Elasticsearch Guide [8.5] | Elastic
Because the query syntax does not use whitespace as an operator, new york city is passed as-is to the analyzer.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hello, I got the solution. The problem is in the function
I changed to
@signalnerve Yeah i had to jump in and bump up the version of kv-asset-handler manually, but once I did that it was all good 👍