Skip to content

Update local worker test & fix issues page test#1

Open
fershad wants to merge 4 commits intogreen-coding-solutions:mainfrom
fershad:main
Open

Update local worker test & fix issues page test#1
fershad wants to merge 4 commits intogreen-coding-solutions:mainfrom
fershad:main

Conversation

@fershad
Copy link

@fershad fershad commented Sep 8, 2025

This PR submits some fixes to the local Cloudflare Worker that has been setup for testing purposes.

Important to note:

  1. The web page in cloudflare-worker/public/index.html should be run on its own seperate server at localhost:8080. I did this by just starting npx http-server from inside the public folder.
  2. After that is done, you should be able to run the Cloudflare Worker from the cloudflare-worker/ folder using npx wrangler dev. The local-worker.js script it configured to look for the site running at localhost:8080 and 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 issues page, adding a trailing slash which should prevent the "Staging" tests from crashing.

@fershad fershad changed the title Update local worker test Update local worker test & fix issues page test Sep 8, 2025
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.

1 participant

Comments