refactor: 优化市场价值计算逻辑和行业均值计算 fix: 修复环境变量和配置文件问题 chore: 更新Docker镜像版本至v1.4 docs: 更新需求文档和部署说明 style: 调整代码格式和样式 build: 配置Vite构建工具和依赖管理 test: 添加前端组件测试基础 ci: 设置CI/CD脚本和工作流 perf: 优化前端性能和数据加载
24 lines
632 B
JavaScript
24 lines
632 B
JavaScript
export const OUTPUT_DIR = 'dist'
|
|
|
|
export const PROXY_CONFIG = {
|
|
// /**
|
|
// * @desc 替换匹配值
|
|
// * @请求路径 http://localhost:3100/api/user
|
|
// * @转发路径 http://localhost:9999/api/v1 +/user
|
|
// */
|
|
// '/api': {
|
|
// target: 'http://localhost:9999/api/v1',
|
|
// changeOrigin: true,
|
|
// rewrite: (path) => path.replace(new RegExp('^/api'), ''),
|
|
// },
|
|
/**
|
|
* @desc 不替换匹配值
|
|
* @请求路径 http://localhost:3100/api/v1/user
|
|
* @转发路径 http://localhost:9999/api/v1/user
|
|
*/
|
|
'/api/v1': {
|
|
target: 'http://124.222.245.240:8080',
|
|
changeOrigin: true,
|
|
},
|
|
}
|