Update local worker test & fix issues page test#1
Open
fershad wants to merge 4 commits intogreen-coding-solutions:mainfrom
Open
Update local worker test & fix issues page test#1fershad wants to merge 4 commits intogreen-coding-solutions:mainfrom
issues page test#1fershad wants to merge 4 commits intogreen-coding-solutions:mainfrom
Conversation
issues page test
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
This PR submits some fixes to the local Cloudflare Worker that has been setup for testing purposes.
Important to note:
cloudflare-worker/public/index.htmlshould be run on its own seperate server atlocalhost:8080. I did this by just startingnpx http-serverfrom inside the public folder.cloudflare-worker/folder usingnpx wrangler dev. Thelocal-worker.jsscript it configured to look for the site running atlocalhost:8080and apply changes as appropriate.@ArneTR if that works, we could also look to give you temporary access to the Branch account on Cloudflare which would allow you to test the worker running against the production Branch website.
It also corrects the URL for the
issuespage, adding a trailing slash which should prevent the "Staging" tests from crashing.