diff --git a/src/index.ts b/src/index.ts index 61376e9..2e214a9 100644 --- a/src/index.ts +++ b/src/index.ts @@ -16,7 +16,11 @@ const { upgradeWebSocket, injectWebSocket } = createNodeWebSocket({ app }) app.use( '*', cors({ - origin: ['https://expria.app', 'http://localhost:5173'], + origin: [ + 'https://expria.app', + 'http://localhost:5173', + 'http://localhost:5174', + ], allowMethods: ['GET', 'POST', 'OPTIONS'], allowHeaders: ['Content-Type', 'Authorization'], })