Skip to content

Commit 8ecdf2b

Browse files
author
Ahad-webdev-90
committed
Chatify
1 parent 0fd8f66 commit 8ecdf2b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/socket/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ const app = express()
202202
const server = http.createServer(app)
203203
const io = new Server(server,{
204204
cors : {
205-
origin : `${process.env.FRONTEND_URL}`,
205+
origin : true,
206206
credentials : true
207207
}
208208
})

0 commit comments

Comments
 (0)