diff --git a/app/app.go b/app/app.go index 9d3e1fb..6968f19 100644 --- a/app/app.go +++ b/app/app.go @@ -29,15 +29,14 @@ func Run() { router.GET("/account", routes.HandleGETAccount) router.GET("/", routes.HandleGETIndex) router.GET("/index", routes.HandleGETIndex) - router.GET("/config", routes.HandleGETConfig) - router.GET("/login", routes.HandleGETLogin) - router.GET("/settings", routes.HandleGETSettings) - router.GET("/index/instances", routes.HandleGETInstancesFragment) + router.GET("/config", routes.HandleGETConfig) router.GET("/config/volumes", routes.HandleGETConfigVolumesFragment) router.GET("/config/nets", routes.HandleGETConfigNetsFragment) router.GET("/config/devices", routes.HandleGETConfigDevicesFragment) router.GET("/config/boot", routes.HandleGETConfigBootFragment) + router.GET("/login", routes.HandleGETLogin) + router.GET("/settings", routes.HandleGETSettings) log.Fatal(router.Run(fmt.Sprintf("0.0.0.0:%d", common.Global.Port))) } diff --git a/app/common/types.go b/app/common/types.go index 96b37fb..2acde1e 100644 --- a/app/common/types.go +++ b/app/common/types.go @@ -15,8 +15,9 @@ type StaticFile struct { // type used for templated +