Setup templates structure
This commit is contained in:
parent
8ef198dfac
commit
b1c5adc2f2
12 changed files with 100 additions and 7 deletions
2
gogs.go
2
gogs.go
|
@ -31,7 +31,7 @@ func main() {
|
|||
m.Use(render.Renderer())
|
||||
|
||||
// Routers.
|
||||
m.Get("/", routers.Home)
|
||||
m.Get("/", routers.Dashboard)
|
||||
|
||||
listenAddr := fmt.Sprintf("%s:%s",
|
||||
utils.Cfg.MustValue("server", "HTTP_ADDR"),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue