Custom startup message
This commit is contained in:
parent
0a76dc83dd
commit
d3180809fc
3
main.go
3
main.go
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue