0
0
Fork 0

Disable CORS to allow anything

This commit is contained in:
Oliver Akins 2022-07-31 17:51:01 -06:00
parent 0fc40846ce
commit d0e8c69c4d
No known key found for this signature in database
GPG key ID: 3C2014AF9457AF99

View file

@ -46,10 +46,7 @@ async function init() {
files: { files: {
relativeTo: path.join(__dirname, `../docs`), relativeTo: path.join(__dirname, `../docs`),
}, },
cors: { cors: true,
origin: [`*`],
credentials: true,
},
}, },
}); });