Skip to content

Commit

Permalink
cors
Browse files Browse the repository at this point in the history
  • Loading branch information
Szabolcs Szabolcsi-Toth committed Jun 9, 2024
1 parent 470dcaa commit 6be0e87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/api/socket.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export const config = {

const SocketHandler = (req, res) => {
if (!res.socket.server.io) {
const path = '/api/socket/'
const path = '/api/socket'
const httpServer = res.socket.server
const io = new IOServer(httpServer, {
path,
Expand Down

0 comments on commit 6be0e87

Please sign in to comment.