zhuliu 7 maanden geleden
bovenliggende
commit
7f75ccd56b
2 gewijzigde bestanden met toevoegingen van 3 en 3 verwijderingen
  1. 1 1
      src/components/VabOnlyOffice/index.vue
  2. 2 2
      src/config/index.js

+ 1 - 1
src/components/VabOnlyOffice/index.vue

@@ -88,7 +88,7 @@ import mixins from './index.js'
           name:option.user.name
         }
         
-        let callbackUrl = `${this.$c.url}/onlyOffice/callback?guid=${option.id}`
+        let callbackUrl = this.$c.url + (this.$c.env=='production'?'/api/fms':'') +`/onlyOffice/callback?guid=${option.id}`
         if(option.title){
           callbackUrl += `&fileName=${option.title}`
         }

+ 2 - 2
src/config/index.js

@@ -4,8 +4,8 @@ export default {
     updateTime:'2023-08-04 08:00:00',
     specialDays:['05-12','09-18','12-13'],
     host: window.location.host,
-    url:process.env.NODE_ENV === 'production' ? 'https://xsip.cn' : 'http://192.168.2.109:8803',
+    url:process.env.NODE_ENV === 'production' ? 'https://xsip.cn' : 'http://192.168.2.105:8803',
     staticURL: process.env.NODE_ENV === 'production' ? 'https://xsip.cn/onlinePreview' : 'http://192.168.2.24:8879/onlinePreview',
     WebSocketPath: process.env.NODE_ENV === 'production' ? 'wss://xsip.cn' : 'ws://192.168.2.24:8879',
-    WebSocketPathFMS: process.env.NODE_ENV === 'production' ? 'wss://xsip.cn' : 'ws://192.168.2.109:8803',
+    WebSocketPathFMS: process.env.NODE_ENV === 'production' ? 'wss://xsip.cn' : 'ws://192.168.2.105:8803',
 }