Fix jwt-token
This commit is contained in:
@@ -29,6 +29,7 @@ app.set('trust proxy', 1);
|
||||
|
||||
const server = createServer(app);
|
||||
const io = new Server(server, {
|
||||
path: '/ws',
|
||||
cors: {
|
||||
origin: [
|
||||
process.env.CORS_ORIGIN || "http://localhost:3000",
|
||||
|
||||
Reference in New Issue
Block a user