No description
Find a file
Zaldimmar bff082652a Send HSTS from nginx, not the API
nginx serves /assets, /uploads and the fallback index.html itself, so
the API's HSTS header never reached them. nginx now sends it on
everything and the API stops, so proxied pages don't get it twice.
docs/security-headers.md says who sends which header and what nginx
must pass (Host, X-Forwarded-For) for the CSRF check and rate limits.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-28 22:20:53 -05:00
docs Send HSTS from nginx, not the API 2026-09-28 22:20:53 -05:00
server Send HSTS from nginx, not the API 2026-09-28 22:20:53 -05:00
src Bump SITE_VERSION to v1.9.0-audit 2026-09-28 22:14:10 -05:00
.gitignore Harden security found in the audit 2026-09-28 21:56:49 -05:00
CLAUDE.md Send HSTS from nginx, not the API 2026-09-28 22:20:53 -05:00
index.html Fix accessibility found in the audit 2026-09-28 22:07:56 -05:00
package.json Call the descriptor sync once at boot, and rename the package 2026-09-26 18:26:12 -05:00
pnpm-lock.yaml Add a QR code page at /qr for any page on the site 2026-09-26 18:24:08 -05:00
README.md Clean up code found in the audit 2026-09-28 22:02:03 -05:00
site.json QR tool: choose the centre, type any link, pick the colours 2026-09-27 23:20:55 -05:00
tsconfig.json Clean up code found in the audit 2026-09-28 22:02:03 -05:00
vite.config.ts Clean up code found in the audit 2026-09-28 22:02:03 -05:00

NGU-Web

Website for NGU (Next Generation of Unity): a public site and a role-based admin panel.

  • Frontend: React, TypeScript, Tailwind, Vite (src/). pnpm dev, pnpm build.
  • API: Hono on Node 22.13+, SQLite (server/). DB_PATH=./dev.db pnpm dev.
  • Accounts are made with server/src/admin-cli.js.
  • Deployment and setup notes are in docs/; working notes for contributors are in CLAUDE.md.