0
0
Fork 0

Allow everything through CORS

This commit is contained in:
Oliver Akins 2022-07-22 00:46:10 -06:00
parent fe34bc46dc
commit 71bef19cce
No known key found for this signature in database
GPG key ID: 3C2014AF9457AF99

View file

@ -43,9 +43,7 @@ async function init() {
port: config.server.port, port: config.server.port,
routes: { routes: {
cors: { cors: {
origin: [ origin: `*`,
isDev ? `*` : `oliver.akins.me/Twitch-Lurk-Message-API/`,
],
credentials: true, credentials: true,
}, },
}, },