Custom startup message

This commit is contained in:
VnPower 2023-08-14 19:46:20 +07:00
parent 0a76dc83dd
commit d3180809fc
Signed by: vnpower
GPG key ID: 881DE3DEB966106C

View file

@ -26,7 +26,7 @@ func setup_router() *fiber.App {
server := fiber.New(fiber.Config{
AppName: "PixivFE",
DisableStartupMessage: false,
DisableStartupMessage: true,
Views: engine,
Prefork: false,
JSONEncoder: json.Marshal,
@ -128,5 +128,6 @@ func main() {
}
r.Listener(ln)
}
println("PixivFE is up and running on port " + configs.Port + "!")
r.Listen(":" + configs.Port)
}