aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorFChannel <>2022-06-14 17:34:27 -0700
committerFChannel <>2022-06-19 12:53:29 -0700
commitddc61bb3a8eb7219ba7e232b1606da556f262fa3 (patch)
treee1be8ddb9af39076014b864920e22369fc52f298 /main.go
parenta4621a1d4ee2c307dded842d5866ac9de76a40b4 (diff)
your ip can be logged use a proxy if you care
Diffstat (limited to 'main.go')
-rw-r--r--main.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/main.go b/main.go
index 98fb5d7..3efb9ff 100644
--- a/main.go
+++ b/main.go
@@ -25,13 +25,13 @@ func main() {
// Routing and templates
template := html.New("./views", ".html")
- template.Debug(true)
route.TemplateFunctions(template)
app := fiber.New(fiber.Config{
- AppName: "FChannel",
- Views: template,
+ AppName: "FChannel",
+ Views: template,
+ ServerHeader: "FChannel/" + config.InstanceName,
})
app.Use(logger.New())