Skip to content

Enforce HTTPS transport headers - #9

Merged
ael-dev3 merged 1 commit into
mainfrom
fix/hsts-transport
Aug 13, 2026
Merged

Enforce HTTPS transport headers#9
ael-dev3 merged 1 commit into
mainfrom
fix/hsts-transport

Conversation

@ael-dev3

Copy link
Copy Markdown
Owner

Summary

  • add two-year HSTS to static and Worker HTTPS responses
  • redirect insecure API requests to the same HTTPS URL before route handling
  • preserve HSTS on successful WebSocket upgrades

The .dev TLD is already browser-preloaded; this adds explicit defense in depth for SnapMeter and a server-side API redirect for non-HSTS clients.

Validation

  • Worker: 3 files / 71 tests
  • dashboard TypeScript and focused ESLint
  • signed Mini App and production bundle verification
  • publication safety and production dependency audit

@ael-dev3
ael-dev3 merged commit 085674e into main Aug 13, 2026
4 checks passed
@ael-dev3
ael-dev3 deleted the fix/hsts-transport branch August 13, 2026 16:56
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