jevstrudel.git / website / src / pages / release-notes.json.js

Every release note, newest first, for the update modal (jev/UpdateModal.jsx) and the deploy's check (tools/deploy/). Kept out of the service worker's precache (astro.config.mjs) so a waiting update is read from the network.

4import text from '../../../RELEASES.md?raw';
5import { parseReleases } from '../jev/releases.mjs';
7export function GET() {
8  return new Response(JSON.stringify(parseReleases(text)), { headers: { 'Content-Type': 'application/json' } });
9}