What's up with CloudFlare _redirects and URLs with and without trailing slashes? #82
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Gotta make sure we click on a link that's without that it handles it right, including with it too.
Reason For This Issue
Vue/Nuxt doesn't hit CloudFlare in the same way when changing routes as when we're loading the first time.
The first time, the file at the path is finding the index file in the folder (i.e. a full HTTP cycle, with HTML, JS, paint, etc)
The second, as Nuxt/Vue does (because of its build process output) only loads JS code to update the current view and push to browser history. Not a full HTTP cycle in the same way.
That's why redirects in _redirects aren't taken into account after the first load and navigating.