Service worker not working over HTTP
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 2
- Forks
- 2
- Avg merge
- 11h 24m
- Merged PRs (30d)
- 2
Description
Hi,
I was browsing on stats website earlier and saw on the console the following error message
Service workers can only be used over HTTPS, or on localhost for development
Turns out that stats.codebar.io can be served both over HTTP and HTTPS.
Looking over the GitHub pages documentation, it seems possible to enforce use of HTTPS and get rid of that error altogether
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the repository's GitHub Pages deployment or settings and the linked GitHub Pages HTTPS guidance; verify how stats.codebar.io is served over HTTP and HTTPS. Done means the site consistently uses HTTPS and the service-worker console error no longer appears.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- github, typescript
- Domain
- infrastructure, web-dev
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100