codebar / codebar/stats

Service worker not working over HTTP

Open
#11 1 comment 0 reactions 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.