Use address from config (#37)

This commit is contained in:
video-prize-ranch 2022-06-12 12:12:36 -04:00
parent 965f5817c5
commit e022a451af
No known key found for this signature in database
GPG Key ID: D8EAA4C5B12A7281
1 changed files with 1 additions and 1 deletions

View File

@ -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))
}