Skip to content

Commit cc46549

Browse files
Troubleshooting
1 parent d4c94a7 commit cc46549

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

nuxt.config.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,9 @@ export default {
7878
// @ts-ignore
7979
cors: {
8080
credentials: true,
81-
allowedHeaders: ['Content-Type', 'Authorization'],
82-
origin: 'https://nuxt-socket-io.netlify.app',
83-
methods: ['GET', 'POST']
81+
// allowedHeaders: ['Content-Type', 'Authorization'],
82+
origin: ['https://nuxt-socket-io.netlify.app'],
83+
// methods: ['GET', 'POST']
8484
// origin (origin, callback) {
8585
// const whitelist = [
8686
// // 'http://localhost:3001', // Works for local dev

0 commit comments

Comments
 (0)