mirror of
https://github.com/maputnik/editor.git
synced 2026-08-26 06:57:26 +00:00
Fix formatting
This commit is contained in:
+4
-4
@@ -62,10 +62,10 @@ func main() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
staticDir := c.String("static")
|
staticDir := c.String("static")
|
||||||
if staticDir != "" {
|
if staticDir != "" {
|
||||||
h := http.StripPrefix("/static/", http.FileServer(http.Dir(staticDir)))
|
h := http.StripPrefix("/static/", http.FileServer(http.Dir(staticDir)))
|
||||||
router.PathPrefix("/static/").Handler(h)
|
router.PathPrefix("/static/").Handler(h)
|
||||||
}
|
}
|
||||||
|
|
||||||
router.PathPrefix("/").Handler(http.StripPrefix("/", gui))
|
router.PathPrefix("/").Handler(http.StripPrefix("/", gui))
|
||||||
loggedRouter := handlers.LoggingHandler(os.Stdout, router)
|
loggedRouter := handlers.LoggingHandler(os.Stdout, router)
|
||||||
|
|||||||
Reference in New Issue
Block a user