This commit is contained in:
1 parent
40dc935eea
commit
a54ee2a1ee
1 file changed
+1
-1
+1
-1
@@ -18,8 +18,8 @@ import (
|
|||||||
func Run() {
|
func Run() {
|
||||||
configPath := flag.String("config", "config.json", "path to config.json file")
|
configPath := flag.String("config", "config.json", "path to config.json file")
|
||||||
flag.Parse()
|
flag.Parse()
|
||||||
|
|
||||||
common.Global = common.GetConfig(*configPath)
|
common.Global = common.GetConfig(*configPath)
|
||||||
|
log.Printf("Read in config from %s\n", *configPath)
|
||||||
|
|
||||||
// setup http router
|
// setup http router
|
||||||
router := http.NewServeMux()
|
router := http.NewServeMux()
|
||||||
|
|||||||
Reference in new issue
Block a user