diff --git a/im-platform/src/main/resources/application-dev.yml b/im-platform/src/main/resources/application-dev.yml index a18048c..e6ca704 100644 --- a/im-platform/src/main/resources/application-dev.yml +++ b/im-platform/src/main/resources/application-dev.yml @@ -3,15 +3,15 @@ spring: driver-class-name: com.mysql.cj.jdbc.Driver url: jdbc:mysql://localhost:3306/im_platform?useSSL=false&useUnicode=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true username: root - password: root + password: JtnA5H6PfGHzkfzx data: redis: host: localhost port: 6379 minio: - endpoint: http://127.0.0.1:9000 #内网地址 - domain: http://127.0.0.1:9000 #外网访问地址 + endpoint: http://127.0.0.1:9001 #内网地址 + domain: http://127.0.0.1:9001 #外网访问地址 accessKey: minioadmin secretKey: minioadmin bucketName: box-im diff --git a/im-platform/src/main/resources/application.yml b/im-platform/src/main/resources/application.yml index ae5abb0..1ba6b0c 100644 --- a/im-platform/src/main/resources/application.yml +++ b/im-platform/src/main/resources/application.yml @@ -1,5 +1,5 @@ server: - port: 8888 + port: 8889 spring: profiles: active: dev # 环境 dev|test|prod diff --git a/im-uniapp/.env.js b/im-uniapp/.env.js index 676bf98..c091f73 100644 --- a/im-uniapp/.env.js +++ b/im-uniapp/.env.js @@ -9,7 +9,7 @@ UNI_APP.EMO_URL = "/static/emoji/"; // #endif if(ENV=="DEV"){ - UNI_APP.BASE_URL = "http://127.0.0.1:8888"; + UNI_APP.BASE_URL = "http://127.0.0.1:8889"; UNI_APP.WS_URL = "ws://127.0.0.1:8878/im"; // H5 走本地代理解决跨域问题 // #ifdef H5 diff --git a/im-uniapp/vite.config.js b/im-uniapp/vite.config.js index 8f10427..30352db 100644 --- a/im-uniapp/vite.config.js +++ b/im-uniapp/vite.config.js @@ -9,7 +9,7 @@ export default defineConfig({ '/api': { rewrite: path => path.replace(/^\/api/, ''), logLevel: 'debug', - target: 'http://127.0.0.1:8888', + target: 'http://127.0.0.1:8889', changeOrigin: true } } diff --git a/im-web/vue.config.js b/im-web/vue.config.js index 89096d9..5e3be8f 100644 --- a/im-web/vue.config.js +++ b/im-web/vue.config.js @@ -5,7 +5,7 @@ module.exports = { devServer: { proxy: { '/api': { - target: 'http://127.0.0.1:8888', + target: 'http://127.0.0.1:8889', changeOrigin: true, ws: false, pathRewrite: {