diff --git a/package.json b/package.json index ed57207..62c68bf 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "private": true, "type": "module", "scripts": { - "dev": "vite --port=7022", + "dev": "vite --port=7024", "build": "vite build", "preview": "vite preview" }, diff --git a/vite.config.js b/vite.config.js index 1a9bd80..4ee9d8c 100644 --- a/vite.config.js +++ b/vite.config.js @@ -32,7 +32,7 @@ export default defineConfig({ server: { //用来配置跨域 host: '127.0.0.1', - port: 7003, + port: 7034, proxy: { '/authentication': { target: 'http://127.0.0.1:8011',//鉴权服务器地址