dep:#64 fixed version changes

This commit is contained in:
Elmar Kresse
2025-01-06 19:55:27 +01:00
parent 8e040cade6
commit 3001f21997
3 changed files with 240 additions and 188 deletions

View File

@@ -52,14 +52,17 @@ func main() {
webdavRequestMethods := []string{"PROPFIND", "MKCOL", "COPY", "MOVE"}
fiberApp := fiber.New(fiber.Config{
CaseSensitive: true,
StrictRouting: true,
ServerHeader: "HTWKalender iCal Service",
AppName: "HTWKalender iCal Service",
RequestMethods: append(fiber.DefaultMethods[:], webdavRequestMethods...),
EnableTrustedProxyCheck: true,
TrustedProxies: []string{"172.16.0.0/12", "172.18.0.5", "172.18.0.1"},
ProxyHeader: "X-Forwarded-For",
CaseSensitive: true,
StrictRouting: true,
ServerHeader: "HTWKalender iCal Service",
AppName: "HTWKalender iCal Service",
RequestMethods: append(fiber.DefaultMethods[:], webdavRequestMethods...),
TrustProxy: true,
TrustProxyConfig: fiber.TrustProxyConfig{
Proxies: []string{"172.16.0.0/12", "172.18.0.5", "172.18.0.1"},
Loopback: true,
},
ProxyHeader: "X-Forwarded-For",
})
var app = model.AppType{