Add board feature

This commit is contained in:
julien vdb
2025-03-28 14:52:43 +01:00
parent 9d4ecb2733
commit c6d5936639
23 changed files with 3485 additions and 11 deletions

View File

@@ -1,12 +1,40 @@
export default [
'strapi::logger',
'strapi::errors',
'strapi::security',
'strapi::cors',
'strapi::poweredBy',
'strapi::query',
'strapi::body',
'strapi::session',
'strapi::favicon',
'strapi::public',
"strapi::logger",
"strapi::errors",
//'strapi::security',
{
name: "strapi::security",
config: {
contentSecurityPolicy: {
useDefaults: true,
directives: {
"connect-src": ["'self'", "https:"],
"img-src": [
"'self'",
"data:",
"blob:",
"market-assets.strapi.io",
"192.168.0.211:9000",
"beyonder.synology.me:9000",
],
"media-src": [
"'self'",
"data:",
"blob:",
"market-assets.strapi.io",
"192.168.0.211:9000",
"beyonder.synology.me:9000",
],
upgradeInsecureRequests: null,
},
},
},
},
"strapi::cors",
"strapi::poweredBy",
"strapi::query",
"strapi::body",
"strapi::session",
"strapi::favicon",
"strapi::public",
];

View File

@@ -17,4 +17,26 @@ export default () => ({
},
},
},
upload: {
config: {
provider: "aws-s3",
providerOptions: {
//baseUrl: "http://192.168.0.211:9000/harmony",
baseUrl: "http://beyonder.synology.me:9000/harmony",
s3Options: {
credentials: {
accessKeyId: "admin",
secretAccessKey: "Apslxnap12bn23",
},
//endpoint: "http://192.168.0.211:9000",
endpoint: "http://beyonder.synology.me:9000",
region: "eu-west-3",
forcePathStyle: true,
params: {
Bucket: "harmony",
},
},
},
},
},
});