diff --git a/.env.production b/.env.production index 5add05e..537ed91 100644 --- a/.env.production +++ b/.env.production @@ -2,7 +2,7 @@ ENV = 'production' # base api -VUE_APP_BASE_API='https://cz-hjjc.115.langye.net' -VUE_APP_UPLOAD_API='https://cz-hjjc.115.langye.net/api/upload-file' +VUE_APP_BASE_API='http://192.168.16.110:8080' +VUE_APP_UPLOAD_API='http://192.168.16.110:8080/api/upload-file' VUE_APP_PREVIEW=//view.langye.net/preview/onlinePreview diff --git a/.env.staging b/.env.staging index 4ef2cb7..e2b8f38 100644 --- a/.env.staging +++ b/.env.staging @@ -4,6 +4,6 @@ NODE_ENV = production ENV = 'staging' # base api -VUE_APP_BASE_API='http://cz-hjjc.115.langye.net' -VUE_APP_UPLOAD_API='http://cz-hjjc.115.langye.net/api/admin/upload-file' +VUE_APP_BASE_API='https://cz-hjjc.115.langye.net' +VUE_APP_UPLOAD_API='https://cz-hjjc.115.langye.net/api/upload-file' VUE_APP_PREVIEW=//view.langye.net/preview/onlinePreview diff --git a/src/App.vue b/src/App.vue index ec9032c..1dc8e21 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,11 +1,16 @@ diff --git a/src/components/OnlineFile/index.vue b/src/components/OnlineFile/index.vue new file mode 100644 index 0000000..6044c74 --- /dev/null +++ b/src/components/OnlineFile/index.vue @@ -0,0 +1,54 @@ +