Don't make assets configurable

This commit is contained in:
Maximilian Friedersdorff 2025-06-25 21:30:57 +01:00
parent da11dbd1c8
commit 868d2a7bbd
4 changed files with 16 additions and 18 deletions

View file

@ -24,7 +24,7 @@ func main() {
router.Handle("/", http.RedirectHandler("/notes/", http.StatusFound))
router.Handle("/notes/", http.StripPrefix("/notes", notesRouter))
router.Handle(
conf.Conf.Static.Root,
"/static/",
logger(
http.StripPrefix(
"/static",