legal: close AGPL packaging gaps
test / test (push) Has been cancelled

Name the copyright holder, ship NOTICE with the image, serve the licence
from the panel footer on every page, and record the vendored htmx licence.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-08-10 21:56:51 +03:00
parent c713f51f24
commit 6c8bf0d3b3
17 changed files with 908 additions and 16 deletions
+4
View File
@@ -147,6 +147,10 @@ func (s *Server) Handler() http.Handler {
// Health check stays unauthenticated for the container/orchestrator.
mux.HandleFunc("/healthz", handleHealth)
// AGPL Appropriate Legal Notices: the licence text itself, reachable
// without a session so the login and setup footers can link to it.
mux.HandleFunc("/license", s.handleLicense)
// Vendored static assets (HTMX). Served from the embedded FS, with a
// content ETag so a replaced asset survives the browser cache (static.go).
mux.Handle("/static/", staticHandler())