Repository navigation
v0.2.0
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-Aftercountdown - Click-stats lookup by short link or code
- Recent links kept only in your browser (localStorage), with on-demand click counts
- Shorten a link and copy it in one click; API errors shown inline, rate limits with a live
- Brand look matching the banner: Cloudflare + Go mark, WISP wordmark, wisp favicon and Apple touch icon
- Unknown paths now answer the JSON
404error 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, JSON404for 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