router and auth kk
This commit is contained in:
2
main.go
2
main.go
@@ -2,6 +2,7 @@ package main
|
||||
|
||||
import (
|
||||
"local/dndex/config"
|
||||
"local/dndex/server"
|
||||
"local/dndex/storage"
|
||||
"local/dndex/view"
|
||||
"log"
|
||||
@@ -14,6 +15,7 @@ func main() {
|
||||
log.Println(c)
|
||||
g := storage.NewRateLimitedGraph()
|
||||
view.GitCommit = GitCommit
|
||||
server.GitCommit = GitCommit
|
||||
if err := view.JSON(g); err != nil {
|
||||
panic(err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user