This commit is contained in:
神仙都没用 2024-10-18 22:48:58 +08:00
parent 32c5e4bc39
commit 9afad4d475
2 changed files with 3 additions and 3 deletions

View File

@ -22,7 +22,7 @@
"core-js": "^3.38.1", "core-js": "^3.38.1",
"dayjs": "^1.11.13", "dayjs": "^1.11.13",
"echarts": "^5.5.1", "echarts": "^5.5.1",
"element-plus": "^2.8.4", "element-plus": "2.8.4",
"file-saver": "^2.0.5", "file-saver": "^2.0.5",
"lodash-es": "^4.17.21", "lodash-es": "^4.17.21",
"marked": "^14.1.3", "marked": "^14.1.3",
@ -64,7 +64,7 @@
"npm-run-all2": "^6.2.3", "npm-run-all2": "^6.2.3",
"prettier": "^3.3.3", "prettier": "^3.3.3",
"rollup-plugin-visualizer": "^5.12.0", "rollup-plugin-visualizer": "^5.12.0",
"sass": "^1.77.0", "sass": "1.77.0",
"terser": "^5.36.0", "terser": "^5.36.0",
"typescript": "~5.5.4", "typescript": "~5.5.4",
"vite": "^5.4.8", "vite": "^5.4.8",

View File

@ -1,6 +1,6 @@
export const proxy = { export const proxy = {
'/dev/': { '/dev/': {
target: 'http://127.0.0.1:8888', target: 'http://127.0.0.1:8001',
changeOrigin: true, changeOrigin: true,
rewrite: (path: string) => path.replace(/^\/dev/, '') rewrite: (path: string) => path.replace(/^\/dev/, '')
}, },