diff options
author | FChannel <> | 2022-06-14 17:34:27 -0700 |
---|---|---|
committer | FChannel <> | 2022-06-19 12:53:29 -0700 |
commit | ddc61bb3a8eb7219ba7e232b1606da556f262fa3 (patch) | |
tree | e1be8ddb9af39076014b864920e22369fc52f298 | |
parent | a4621a1d4ee2c307dded842d5866ac9de76a40b4 (diff) |
your ip can be logged use a proxy if you care
-rw-r--r-- | main.go | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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()) |