Skip to content

Commit

Permalink
feat: wss URL 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
sooyeon-kr committed Sep 10, 2024
1 parent 0fd322b commit 6adb20c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ app.use(
'https://cdn.socket.io',
"'unsafe-inline'",
], // 추가
connectSrc: ["'self'", 'wss:'],
connectSrc: ["'self'", 'wss:', process.env.SOCKET_URL],
styleSrc: ["'self'", 'https://cdnjs.cloudflare.com'],
fontSrc: ["'self'", 'https://cdnjs.cloudflare.com'],
},
Expand Down

0 comments on commit 6adb20c

Please sign in to comment.