From 7a7a258fa5efc612a2229879016a1cfcc5a6ac56 Mon Sep 17 00:00:00 2001 From: ludc Date: 星期五, 25 八月 2023 23:06:08 +0800 Subject: [PATCH] 修改pom文件 --- Source/UBCS/ubcs-gateway/src/main/resources/application-prod.yml | 11 ----------- Source/UBCS/pom.xml | 6 +++--- Source/UBCS-WEB/vue.config.js | 7 +++---- 3 files changed, 6 insertions(+), 18 deletions(-) diff --git a/Source/UBCS-WEB/vue.config.js b/Source/UBCS-WEB/vue.config.js index 44ff4f0..85486be 100644 --- a/Source/UBCS-WEB/vue.config.js +++ b/Source/UBCS-WEB/vue.config.js @@ -26,12 +26,11 @@ proxy: { '/api': { //鏈湴鏈嶅姟鎺ュ彛鍦板潃 - // target: 'http://localhost', + target: 'http://localhost:37000', // target: 'http://192.168.1.51:37000', - target: 'http://dev.vci-tech.com:37000', - // target: 'http://192.168.1.16:37000', + // target: 'http://dev.vci-tech.com:37000', + // target: 'http://192.168.1.104:37000', // target: 'http://192.168.0.105:37000', - // target: 'http://192.168.43.251:37000', // target: 'http://192.168.0.103:37000', // target: 'http://192.168.1.63:37000', // target: 'http://192.168.3.7:37000', diff --git a/Source/UBCS/pom.xml b/Source/UBCS/pom.xml index d1e106b..6dd5829 100644 --- a/Source/UBCS/pom.xml +++ b/Source/UBCS/pom.xml @@ -107,11 +107,11 @@ <resources> <resource> <directory>src/main/resources</directory> - <excludes> + <!-- <excludes> <exclude>bootstrap.yml</exclude> <exclude>application.yml</exclude> - <exclude>application-prop.yml</exclude> - </excludes> + <exclude>application-prod.yml</exclude> + </excludes>--> </resource> <resource> <directory>src/main/java</directory> diff --git a/Source/UBCS/ubcs-gateway/src/main/resources/application-prod.yml b/Source/UBCS/ubcs-gateway/src/main/resources/application-prod.yml index f47d489..b8eaf54 100644 --- a/Source/UBCS/ubcs-gateway/src/main/resources/application-prod.yml +++ b/Source/UBCS/ubcs-gateway/src/main/resources/application-prod.yml @@ -9,14 +9,3 @@ prior-ip-pattern: - 192.168.0.* - 127.0.0.1 -server: - port: 80 -spring: - cloud: - gateway: - discovery: - locator: - enabled: true - loadbalancer: - retry: - enabled: true -- Gitblit v1.9.3