mirror of
https://github.com/Luzifer/mediatimeline.git
synced 2024-09-18 23:42:56 +00:00
Fix: Use prefix for asset handling
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
f61051c212
commit
90e006ef41
2
main.go
2
main.go
@ -74,7 +74,7 @@ func main() {
|
||||
|
||||
log.WithField("version", version).Info("MediaTimeline Viewer started")
|
||||
|
||||
router.Handle("/", http.FileServer(http.Dir(cfg.Frontend)))
|
||||
router.PathPrefix("/").Handler(http.FileServer(http.Dir(cfg.Frontend)))
|
||||
http.ListenAndServe(cfg.Listen, hhelp.NewHTTPLogHandler(router))
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user