Fix static file route to serve at /s/
This commit is contained in:
parent
cc6dee9fd8
commit
ee823b6a84
@ -30,8 +30,8 @@ func (s *Server) SetupRoutes() {
|
||||
s.router.Get("/health", s.handlers.HandleHealthCheck())
|
||||
|
||||
// Static files
|
||||
s.router.Handle("/static/*", http.StripPrefix(
|
||||
"/static/",
|
||||
s.router.Handle("/s/*", http.StripPrefix(
|
||||
"/s/",
|
||||
http.FileServer(http.FS(static.Static)),
|
||||
))
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user