aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/main.go b/main.go
index 3fcb722..dd3935e 100644
--- a/main.go
+++ b/main.go
@@ -6,8 +6,6 @@ import (
)
func main() {
-
router := NewRouter()
-
- log.Fatal(http.ListenAndServe(":8080", router))
+ log.Fatal(http.ListenAndServe(config.Server.Listen+":"+config.Server.Port, router))
}