From 4f3692abd98362fce07fdcea2913a00f5876fee5 Mon Sep 17 00:00:00 2001 From: Jason Hilder Date: Fri, 1 May 2026 08:20:53 +0200 Subject: [PATCH] Cleanup fileserver not needed, updated gitignore. --- .gitignore | 3 +++ internal/web/routes.go | 4 ---- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 494ed7a..56b4ae7 100644 --- a/.gitignore +++ b/.gitignore @@ -23,3 +23,6 @@ go.work # direnv files .envrc + +# random files +todo.txt diff --git a/internal/web/routes.go b/internal/web/routes.go index b8e0fd9..2edf044 100644 --- a/internal/web/routes.go +++ b/internal/web/routes.go @@ -16,10 +16,6 @@ func (s *Server) setupRoutes() *chi.Mux { router.Use(s.logRequest) router.Use(middleware.Recoverer) - // TODO: CLEANUP: Not sure this is needed right now - // Setup basic file server nothing fancy - router.Handle("/static/*", http.StripPrefix("/static", http.FileServer(http.Dir("static")))) - // Public routes router.Group(func(r chi.Router) { // Auth Routes