Skip to content

Commit d6e5ea6

Browse files
committed
update next.config.js
1 parent 94500d3 commit d6e5ea6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

next.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ const nextConfig = {
77
source: '/:path*',
88
headers: [
99
{ key: 'Access-Control-Allow-Credentials', value: 'true' },
10-
{ key: 'Access-Control-Allow-Origin', value: 'http://localhost:5173/' },
10+
{ key: 'Access-Control-Allow-Origin', value: '*' },
1111
{ key: 'Access-Control-Allow-Methods', value: 'GET,OPTIONS,PATCH,DELETE,POST,PUT' },
1212
{ key: 'Access-Control-Allow-Headers', value: 'X-CSRF-Token, X-Requested-With, Accept, Accept-Version, Content-Length, Content-MD5, Content-Type, Date, X-Api-Version, Authorization' },
1313
],

0 commit comments

Comments
 (0)