Skip to content

Commit

Permalink
add missing router path
Browse files Browse the repository at this point in the history
  • Loading branch information
mayswind committed Dec 22, 2024
1 parent dd155a0 commit 493c160
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/webserver.go
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ func startWebServer(c *core.CliContext) error {
router.StaticFile("favicon.png", filepath.Join(config.StaticRootPath, "favicon.png"))
router.StaticFile("touchicon.png", filepath.Join(config.StaticRootPath, "touchicon.png"))
router.StaticFile("manifest.json", filepath.Join(config.StaticRootPath, "manifest.json"))
router.StaticFile("sw.js", filepath.Join(config.StaticRootPath, "sw.js"))
router.GET("/server_settings.js", bindCachedJs(api.ServerSettings.ServerSettingsJavascriptHandler, serverSettingsCacheStore))

router.StaticFile("/mobile", filepath.Join(config.StaticRootPath, "mobile.html"))
Expand Down

0 comments on commit 493c160

Please sign in to comment.