askbot-dragon 1.6.74 → 1.6.75

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "askbot-dragon",
3
- "version": "1.6.74",
3
+ "version": "1.6.75",
4
4
  "scripts": {
5
5
  "serve": "vue-cli-service serve",
6
6
  "build": "vue-cli-service build",
@@ -293,7 +293,7 @@ export default {
293
293
  },
294
294
  previewUrl () {
295
295
  let url = ""
296
- if (this.isProduction){
296
+ if (process.env.VUE_APP_ENV == 'production'){
297
297
  url = "https://kkfileview.askbot.cn/onlinePreview?url="
298
298
  } else {
299
299
  url = "https://test.open.askbot.cn/kkfileview/onlinePreview?url="