We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d4c94a7 commit cc46549Copy full SHA for cc46549
nuxt.config.js
@@ -78,9 +78,9 @@ export default {
78
// @ts-ignore
79
cors: {
80
credentials: true,
81
- allowedHeaders: ['Content-Type', 'Authorization'],
82
- origin: 'https://nuxt-socket-io.netlify.app',
83
- methods: ['GET', 'POST']
+ // allowedHeaders: ['Content-Type', 'Authorization'],
+ origin: ['https://nuxt-socket-io.netlify.app'],
+ // methods: ['GET', 'POST']
84
// origin (origin, callback) {
85
// const whitelist = [
86
// // 'http://localhost:3001', // Works for local dev
0 commit comments