Adding initial admin console html pages
Этот коммит содержится в:
@@ -21,8 +21,15 @@ func main() {
|
||||
fmt.Println("Current working directory is set to " + pwd)
|
||||
|
||||
var config = flag.String("config", "config.json", "path to config file")
|
||||
var action = flag.String("action", "none", "path to config file")
|
||||
flag.Parse()
|
||||
|
||||
fmt.Println(action)
|
||||
|
||||
if len(action) > 0 {
|
||||
return
|
||||
}
|
||||
|
||||
utils.LoadConfig(*config)
|
||||
api.NewServer()
|
||||
api.InitApi()
|
||||
|
||||
Ссылка в новой задаче
Block a user