diff --git a/backend/src/main/resources/application.yaml b/backend/src/main/resources/application.yaml index 6b65baf..c4a4d5b 100644 --- a/backend/src/main/resources/application.yaml +++ b/backend/src/main/resources/application.yaml @@ -23,7 +23,7 @@ jetty: #结合ftp使用,或用nginx代理ftp路径 #staticPath: E:/project/NutzWk/upload #开发模式静态资源 - staticPathLocal: G:/project/hmc_gbhd/src/main/resources/static + staticPathLocal: C:/dev/projects/hmc_gbhd/src/main/resources/static security: tokenName: token @@ -52,9 +52,9 @@ redis: #nodes=192.168.6.31:6377,192.168.6.31:6378,192.168.6.28:6377,192.168.6.28:6378,192.168.6.34:6377,192.168.6.34:6378 jdbc: - url: jdbc:mysql://192.168.21.207:3306/hmc_gbhd?useUnicode=true&characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true + url: jdbc:mysql://127.0.0.1:3306/hmc_gbhd?useUnicode=true&characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true username: root - password: root + password: dd3s@#2025 validationQuery: select 1 maxActive: 150 testWhileIdle: true @@ -69,7 +69,7 @@ xsssql: beetl: RESOURCE: #本地路径,开发时设置本地路径,便于调试 - rootLocal: G:/projects/hmc_gbhd/src/main/resources/views/ + rootLocal: C:/dev/projects/hmc_gbhd/src/main/resources/views/ root: views/ DELIMITER_STATEMENT_START: '' diff --git a/frontend/vite.config.js b/frontend/vite.config.js index 845fe00..3833e13 100644 --- a/frontend/vite.config.js +++ b/frontend/vite.config.js @@ -34,7 +34,7 @@ export default defineConfig({ },*/ proxy: { '/api': { - target: 'http://localhost:9090', + target: 'https://3skj.ltd', changeOrigin: true, rewrite: (path) => path.replace(/^\/api/, '') }