Skip to content

v0.2.0

Choose a tag to compare

@Pyr33x Pyr33x released this 15 Nov 07:10
· 9 commits to master since this release

Features

  • Web page at wisp.pyr33x.top, served by the gateway Worker itself (no static assets, routing unchanged):
    • Shorten a link and copy it in one click; API errors shown inline, rate limits with a live Retry-After countdown
    • Click-stats lookup by short link or code
    • Recent links kept only in your browser (localStorage), with on-demand click counts
  • Brand look matching the banner: Cloudflare + Go mark, WISP wordmark, wisp favicon and Apple touch icon
  • Unknown paths now answer the JSON 404 error shape instead of a plain-text one

Security

  • Strict Content-Security-Policy: the inline style and script are allowed by SHA-256 hash only, requests limited to the same origin, no framing
  • No innerHTML: every API or stored value is rendered as text

Tests

  • Page served at / with its headers, JSON 404 for unknown paths, short links and API routes not shadowed by /
  • CSP hashes recomputed from the page on every run, so an edit that breaks them fails CI
  • Edge-router check that / serves the page in the real runtime

Full Changelog: v0.1.1...v0.2.0