Fixing few minor stuff
This commit is contained in:
2
main.go
2
main.go
@ -31,6 +31,7 @@ import (
|
||||
func main(){
|
||||
engine := html.New("./templates", ".html")
|
||||
app := fiber.New(fiber.Config{
|
||||
DisableStartupMessage: true,
|
||||
Views: engine,
|
||||
})
|
||||
app.Static("/", "./public")
|
||||
@ -48,5 +49,6 @@ func main(){
|
||||
return lib.RenderError(c, 404)
|
||||
})
|
||||
|
||||
log.Info("Starting MatterLinux Website on port 9878")
|
||||
log.Fatal(app.Listen(":9878"))
|
||||
}
|
||||
|
Reference in New Issue
Block a user