修改部分配置

This commit is contained in:
2026-04-20 12:31:59 +08:00
parent 8c4ddf340d
commit 81bf508384
2 changed files with 2 additions and 2 deletions

View File

@@ -4,7 +4,7 @@
"private": true, "private": true,
"type": "module", "type": "module",
"scripts": { "scripts": {
"dev": "vite --port=7022", "dev": "vite --port=7024",
"build": "vite build", "build": "vite build",
"preview": "vite preview" "preview": "vite preview"
}, },

View File

@@ -32,7 +32,7 @@ export default defineConfig({
server: { server: {
//用来配置跨域 //用来配置跨域
host: '127.0.0.1', host: '127.0.0.1',
port: 7003, port: 7034,
proxy: { proxy: {
'/authentication': { '/authentication': {
target: 'http://127.0.0.1:8011',//鉴权服务器地址 target: 'http://127.0.0.1:8011',//鉴权服务器地址