修改部分配置
This commit is contained in:
@@ -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"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -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',//鉴权服务器地址
|
||||||
|
|||||||
Reference in New Issue
Block a user