fix: irudien ikutea baliatzen du

This commit is contained in:
2023-07-04 18:04:53 +02:00
parent 2a48360784
commit 4f1cd0cf8b

View File

@@ -1,6 +1,19 @@
module.exports = [ module.exports = [
"strapi::errors", "strapi::errors",
"strapi::security", {
name: "strapi::security",
config: {
contentSecurityPolicy: {
useDefaults: true,
directives: {
"connect-src": ["'self'", "https:"],
"img-src": ["'self'", "data:", "blob:", "res.cloudinary.com"],
"media-src": ["'self'", "data:", "blob:", "res.cloudinary.com"],
upgradeInsecureRequests: null,
},
},
},
},
"strapi::cors", "strapi::cors",
"strapi::poweredBy", "strapi::poweredBy",
"strapi::logger", "strapi::logger",