Skip to content

Commit

Permalink
fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
steezeburger committed Jan 22, 2024
1 parent c6689cf commit 6bec3d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ func (s *Server) setupRouter() *mux.Router {

fs := http.FileServer(web.Dist())

// NOTE - serving static files from /static allows us to handle wildcard routes properly.
// NOTE - serving static files from /static_assets allows us to handle wildcard routes properly.
// requires vite.config.js `base` property to be set to the same pattern as below.
// NOTE - rollup names don't support `_`, so using uncommon name `static_assets`
r.PathPrefix("/static_assets").Handler(http.StripPrefix("/static_assets", fs))
Expand Down

0 comments on commit 6bec3d8

Please sign in to comment.