|
@@ -3,7 +3,7 @@ import minimist from "minimist";
|
|
|
let argv = minimist(process.argv.slice(2));
|
|
|
export default {
|
|
|
|
|
|
- "Access-Control-Allow-Origin": argv.https === true ? "https://andyxie.cn:4000" : "http://localhost:3000",
|
|
|
+ "Access-Control-Allow-Origin": argv.https === true ? "https://andyxie.cn:4000" : "http://localhost:5173",
|
|
|
"Access-Control-Allow-Credentials": true,
|
|
|
"Access-Control-Allow-Headers": "Content-Type, Access-Control-Allow-Credentials"
|
|
|
|