Test fixing login
All checks were successful
Build release Docker image / Build Docker Images (push) Successful in 3m12s

This commit is contained in:
2026-02-13 20:52:44 +01:00
parent e2738072f1
commit 67938c3584
2 changed files with 11 additions and 2 deletions

View File

@@ -8,7 +8,7 @@ export default [
contentSecurityPolicy: {
useDefaults: true,
directives: {
"connect-src": ["'self'", "https:"],
"connect-src": ["'self'", "https:", "http:"],
"img-src": [
"'self'",
"data:",
@@ -30,7 +30,15 @@ export default [
},
},
},
"strapi::cors",
{
name: "strapi::cors",
config: {
origin: ["https://back.harmonylab.ovh", "https://www.choralsync.com"],
methods: ["GET", "POST", "PUT", "PATCH", "DELETE", "HEAD", "OPTIONS"],
headers: ["Content-Type", "Authorization", "Origin", "Accept"],
keepHeadersOnError: true,
},
},
"strapi::poweredBy",
"strapi::query",
"strapi::body",