A directory under /s/ answers 404 instead of a listing #293

Merged
clawbot merged 1 commits from issue-286-static-directory-listing into next 2026-10-15 17:01:53 +02:00
1 Commits
Author SHA1 Message Date
sneak 540c4590a9 handlers: a directory under /s/ answers 404, not a listing (closes #286)
check / check (push) Waiting to run
http.FileServer answered /s/ and /s/css/ with an HTML listing of the
embedded files, and /s/css with a redirect to that listing. HandleStatic
in internal/handlers now looks the name up in the embedded files first
and answers 404 when it names a directory; files are served as before.
The routes mount it under /s.

Model: opus-5-5
2026-10-15 14:34:06 +00:00