From e022a451af454d5077fd26db16dc79195c35151a Mon Sep 17 00:00:00 2001 From: video-prize-ranch Date: Sun, 12 Jun 2022 12:12:36 -0400 Subject: [PATCH] Use address from config (#37) --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index cfb9da9..4ae591d 100644 --- a/main.go +++ b/main.go @@ -58,5 +58,5 @@ func main() { app.Get("/user/:userID/avatar", pages.HandleUserAvatar) app.Get("/gallery/:postID", pages.HandlePost) - app.Listen(":" + utils.Config["port"].(string)) + app.Listen(utils.Config["addr"].(string) + ":" + utils.Config["port"].(string)) }