mirror of
https://codeberg.org/video-prize-ranch/rimgo.git
synced 2025-12-13 19:55:21 +00:00
Use address from config (#37)
This commit is contained in:
2
main.go
2
main.go
@@ -58,5 +58,5 @@ func main() {
|
|||||||
app.Get("/user/:userID/avatar", pages.HandleUserAvatar)
|
app.Get("/user/:userID/avatar", pages.HandleUserAvatar)
|
||||||
app.Get("/gallery/:postID", pages.HandlePost)
|
app.Get("/gallery/:postID", pages.HandlePost)
|
||||||
|
|
||||||
app.Listen(":" + utils.Config["port"].(string))
|
app.Listen(utils.Config["addr"].(string) + ":" + utils.Config["port"].(string))
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user