Disable CORS to allow anything
This commit is contained in:
parent
0fc40846ce
commit
d0e8c69c4d
1 changed files with 1 additions and 4 deletions
|
|
@ -46,10 +46,7 @@ async function init() {
|
||||||
files: {
|
files: {
|
||||||
relativeTo: path.join(__dirname, `../docs`),
|
relativeTo: path.join(__dirname, `../docs`),
|
||||||
},
|
},
|
||||||
cors: {
|
cors: true,
|
||||||
origin: [`*`],
|
|
||||||
credentials: true,
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue