- Add internal/adminui with a SPA handler: index fallback for client routes, immutable caching for hashed assets, 404 for missing assets, security headers - Answer 503 with a hint when the UI has not been built, so go build always works - Mount the UI at / and the API at /api/ on the same listener, no CORS needed - Scaffold admin/ with Vite, React, TypeScript, Tailwind v4, shadcn/ui and Vitest
6 lines
97 B
Text
6 lines
97 B
Text
parsimony
|
|
*.db
|
|
*.db-*
|
|
admin/node_modules
|
|
internal/adminui/dist/*
|
|
!internal/adminui/dist/.gitkeep
|