feat: 短信日志
Some checks failed
coverage CI / build (push) Has been cancelled

This commit is contained in:
2025-09-23 15:34:48 +08:00
parent 0da43ca229
commit 67b9a74212
2 changed files with 42 additions and 16 deletions

View File

@@ -13,9 +13,9 @@ export default {
// 如果需要自定义本地开发服务器 请取消注释按需调整
dev: {
// localhost:8000/api/** -> https://preview.pro.ant.design/api/**
"/admin-api/": {
'/admin-api/': {
// 要代理的地址
target: "http://192.168.1.114:48080",
target: 'http://114.132.60.20:48080',
// 配置了这个可以从 http 代理到 https
// 依赖 origin 的功能可能需要这个,比如 cookie
changeOrigin: true,
@@ -27,17 +27,17 @@ export default {
*/
test: {
// localhost:8000/api/** -> https://preview.pro.ant.design/api/**
"/api/": {
target: "https://proapi.azurewebsites.net",
'/api/': {
target: 'https://proapi.azurewebsites.net',
changeOrigin: true,
pathRewrite: { "^": "" },
pathRewrite: { '^': '' },
},
},
pre: {
"/api/": {
target: "your pre url",
'/api/': {
target: 'your pre url',
changeOrigin: true,
pathRewrite: { "^": "" },
pathRewrite: { '^': '' },
},
},
};