perf: 现在使用localhost访问可以正常打开office文档了 #74

This commit is contained in:
jmal 2024-05-11 10:30:52 +08:00
parent 48fdbe1c2e
commit 8cf5185b36

View File

@ -17,7 +17,7 @@ export default {
},
// office回调url
officeCallBackUrl: function(token, username, fileId) {
return `${window.location.origin}${this.baseUrl}/office/track?jmal-token=${token}&name=${username}&fileId=${fileId}`
return `http://jmalcloud:8088/office/track?jmal-token=${token}&name=${username}&fileId=${fileId}`
},
// 预览文件的url
previewUrl: function(username, file, token, shareToken) {