diff --git a/src/lib/caddy.ts b/src/lib/caddy.ts index dd95d266..218db563 100644 --- a/src/lib/caddy.ts +++ b/src/lib/caddy.ts @@ -409,7 +409,7 @@ function buildProxyRoutes( if (authentik) { // Build handle_response routes for copying headers on 2xx status - const handleResponseRoutes = [ + const handleResponseRoutes: Record[] = [ { handle: [{ handler: "vars" }] } @@ -426,7 +426,7 @@ function buildProxyRoutes( [headerName]: [`{http.reverse_proxy.header.${headerName}}`] } } - } + } as Record ], match: [ {