Skip to content

Commit

Permalink
configure port
Browse files Browse the repository at this point in the history
  • Loading branch information
dmonay committed Feb 22, 2015
1 parent 780166c commit 9c55361
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
svchost: :8080
svchost: 8080
dbuser: root
dbpassword: "2Un62VIK"
dbname: do_work
2 changes: 1 addition & 1 deletion handlers/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ func Run(cfg common.Config) error {
port = cfg.SvcHost
}
fmt.Println("port: ", port)
r.Run(port)
r.Run(":" + port)

return nil
}
Expand Down

0 comments on commit 9c55361

Please sign in to comment.