added static file handling for a custom stylesheet that puts the highlights on links in Amsterdam posts

This commit is contained in:
2025-11-05 21:47:58 -07:00
parent c7ea4c529a
commit 5571a58ea2
5 changed files with 47 additions and 1 deletions
+1
View File
@@ -49,6 +49,7 @@ func setupEcho() *echo.Echo {
e.GET("/TODO/*", fn)
e.POST("/TODO/*", fn)
e.GET("/img/*", ui.AmWrap(ui.AmServeImage))
e.GET("/static/*", ui.AmStaticFileHandler())
e.GET("/", ui.AmWrap(TopPage))
e.GET("/about", ui.AmWrap(AboutPage))