diff --git a/docs/script.js b/docs/script.js index 176131d..2f33a22 100644 --- a/docs/script.js +++ b/docs/script.js @@ -1,7 +1,7 @@ const app = new Vue({ el: `#app`, data() {return { - url: `http://143.110.218.114:42069`, + url: `https://vps.oliver.akins.me/lurk-api`, authenticated: false, channels: [], channel: ``, diff --git a/src/main.ts b/src/main.ts index 3d822e8..4f67fc2 100644 --- a/src/main.ts +++ b/src/main.ts @@ -43,7 +43,7 @@ async function init() { port: config.server.port, routes: { cors: { - origin: `*`, + origin: [`*`], credentials: true, }, },