Skip to content

Commit d4c94a7

Browse files
Troubleshooting
1 parent c693c78 commit d4c94a7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

nuxt.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ export default {
7878
// @ts-ignore
7979
cors: {
8080
credentials: true,
81+
allowedHeaders: ['Content-Type', 'Authorization'],
8182
origin: 'https://nuxt-socket-io.netlify.app',
8283
methods: ['GET', 'POST']
8384
// origin (origin, callback) {

0 commit comments

Comments
 (0)