From aca48837fae519c89c0e2cbf44bb24234d66ff44 Mon Sep 17 00:00:00 2001 From: genofire Date: Tue, 28 Sep 2021 04:01:09 +0200 Subject: [PATCH] update cors middleware after traefik update --- templates/conf.d/00-default.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/conf.d/00-default.toml b/templates/conf.d/00-default.toml index 5b2ddd5..192cfd5 100644 --- a/templates/conf.d/00-default.toml +++ b/templates/conf.d/00-default.toml @@ -5,6 +5,6 @@ [http.middlewares.corsAll.headers] accessControlAllowHeaders = ["*", "authorization"] accessControlAllowMethods= ["GET", "OPTIONS", "POST", "PUT", "DELETE"] - accessControlAllowOrigin = "*" + accessControlAllowOriginList = ["*"] accessControlMaxAge = 100 addVaryHeader = true