Fixing few minor stuff

This commit is contained in:
ngn
2024-01-17 20:16:24 +03:00
parent 65c929c837
commit e050e82b2d
3 changed files with 4 additions and 2 deletions

View File

@ -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"))
}