Reviewed-on: https://codeberg.org/rimgo/rimgo/pulls/158 Reviewed-by: orangix <orangix@noreply.codeberg.org> Co-authored-by: video-prize-ranch <cb.8a3w5@simplelogin.co> Co-committed-by: video-prize-ranch <cb.8a3w5@simplelogin.co>
This commit is contained in:
parent
dd78541a46
commit
f5e1669a61
5
main.go
5
main.go
|
@ -135,5 +135,8 @@ func main() {
|
||||||
app.Get("/:postID", pages.HandlePost)
|
app.Get("/:postID", pages.HandlePost)
|
||||||
app.Get("/:postID/embed", pages.HandleEmbed)
|
app.Get("/:postID/embed", pages.HandleEmbed)
|
||||||
|
|
||||||
app.Listen(utils.Config.Addr + ":" + utils.Config.Port)
|
err := app.Listen(utils.Config.Addr + ":" + utils.Config.Port)
|
||||||
|
if err != nil {
|
||||||
|
fmt.Println(err)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue