askbot-dragon 1.5.50 → 1.5.51
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -69,7 +69,7 @@ export default {
|
|
|
69
69
|
},
|
|
70
70
|
computed: {
|
|
71
71
|
previewUrl () {
|
|
72
|
-
let url = process.env.VUE_APP_ENV === 'production' ? 'https://kkfileview.askbot.cn/onlinePreview?url=' : 'https://open
|
|
72
|
+
let url = process.env.VUE_APP_ENV === 'production' ? 'https://kkfileview.askbot.cn/onlinePreview?url=' : 'https://test.open.askbot.cn/kkfileview/onlinePreview?url='
|
|
73
73
|
if (this.url != '') {
|
|
74
74
|
// if (/[\u4E00-\u9FA5]+/g.test(this.url)) {
|
|
75
75
|
// url += btoa(encodeURIComponent(this.url))
|
|
@@ -151,7 +151,7 @@ export default {
|
|
|
151
151
|
computed:{
|
|
152
152
|
previewUrl() {
|
|
153
153
|
console.debug('VUE_APP_ENV',process.env.VUE_APP_ENV)
|
|
154
|
-
let url = process.env.VUE_APP_ENV === 'production' ? 'https://kkfileview.askbot.cn/onlinePreview?url=' : 'https://open
|
|
154
|
+
let url = process.env.VUE_APP_ENV === 'production' ? 'https://kkfileview.askbot.cn/onlinePreview?url=' : 'https://test.open.askbot.cn/kkfileview/onlinePreview?url='
|
|
155
155
|
// if(this.url != '') {
|
|
156
156
|
// if(/[\u4E00-\u9FA5]+/g.test(this.url)) {
|
|
157
157
|
// url += btoa(encodeURIComponent(this.url))
|