0
0
Fork 0

Make CORS origin not crash the API

This commit is contained in:
Oliver-Akins 2022-07-22 01:03:43 -06:00
parent 71bef19cce
commit 16210eae6e

View file

@ -43,7 +43,7 @@ async function init() {
port: config.server.port, port: config.server.port,
routes: { routes: {
cors: { cors: {
origin: `*`, origin: [`*`],
credentials: true, credentials: true,
}, },
}, },