This commit is contained in:
2026-04-16 22:39:28 +04:00
parent 661551aa48
commit c51e488b1c
+6 -5
View File
@@ -5,11 +5,12 @@ module.exports = [
{
name: 'strapi::cors',
config: {
origin: ['*'],
methods: ['GET'],
headers: ['Content-Type', 'Authorization', 'Origin', 'Accept', 'HX-Current-URL', 'HX-Request', 'HX-Target', 'HX-Trigger'],
keepHeaderOnError: true
}
origin: [
'https://gong.gp',
],
methods: ['GET', 'POST', 'PUT', 'DELETE'],
headers: '*',
},
},
'strapi::poweredBy',
'strapi::query',