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(client,admin): Include hash in generated javascript bundle filenames #101

Merged
merged 2 commits into from
Oct 25, 2023

Conversation

jespertheend
Copy link
Owner

Some people were having trouble connecting. Presumably because they had a cached main.js file which was still pointing to an old gameservers endpoint.

This PR lets rollup include the hash in the filename of the main entry point, which is then updated in the index.html file.
That way a request to a new path is made every time the client updates. Both the local cache and the cloudflare cache should be ignored that way.

@jespertheend jespertheend merged commit 79ec211 into main Oct 25, 2023
1 check passed
@jespertheend jespertheend deleted the hash-in-js-bundles branch October 25, 2023 20:00
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

1 participant