Allow everything through CORS
This commit is contained in:
parent
fe34bc46dc
commit
71bef19cce
1 changed files with 1 additions and 3 deletions
|
|
@ -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,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue