mirror of
https://github.com/dpup/meshstream.git
synced 2026-08-08 01:32:52 +02:00
Fix static style serving in prod
This commit is contained in:
+1
-1
@@ -85,7 +85,7 @@ func (s *Server) Start() error {
|
||||
prefab.WithPort(port),
|
||||
prefab.WithHTTPHandlerFunc("/api/status", s.handleStatus),
|
||||
prefab.WithHTTPHandlerFunc("/api/stream", s.handleStream),
|
||||
prefab.WithStaticFiles("/assets", s.config.StaticDir+"/assets"),
|
||||
prefab.WithStaticFiles("/assets/", s.config.StaticDir),
|
||||
prefab.WithHTTPHandlerFunc("/", s.fallbackHandler),
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user