diff options
Diffstat (limited to 'web.go')
-rw-r--r-- | web.go | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -163,6 +163,9 @@ func runWeb(*cli.Context) { m.Get("/template/**", dev.TemplatePreview) } + // not found handler + m.NotFound(routers.NotFound) + listenAddr := fmt.Sprintf("%s:%s", base.Cfg.MustValue("server", "HTTP_ADDR"), base.Cfg.MustValue("server", "HTTP_PORT", "3000")) |