Procházet zdrojové kódy

modified: admin-content/src/views/home.vue
modified: admin-frame/vue.config.js

asd123a20 před 2 roky
rodič
revize
fcc6b3714f
2 změnil soubory, kde provedl 5 přidání a 5 odebrání
  1. 1 1
      admin-content/src/views/home.vue
  2. 4 4
      admin-frame/vue.config.js

+ 1 - 1
admin-content/src/views/home.vue

@@ -45,7 +45,7 @@
               v-if="item.name == 'annex'"
               :headers="myHeaders"
               class="upload-demo"
-              action="/api/files/avatar/upload"
+              action="/api/files/annex/upload"
               :on-success="handleAnnexSuccess"
               :on-remove="handleRemove"
               :file-list="fileList">

+ 4 - 4
admin-frame/vue.config.js

@@ -22,12 +22,12 @@ module.exports = {
     port: 3000,
     proxy: {
       '/api/': {
-        // target: 'http://192.168.3.45:18090'
-        target: 'http://127.0.0.1:18090'
+        target: 'http://skl.cc-lotus.info'
+        // target: 'http://127.0.0.1:18090'
       },
       '/upload/': {
-        target: 'http://127.0.0.1:9002'
-        // target: 'http://192.168.0.45:18090'
+        // target: 'http://127.0.0.1:9002'
+        target: 'http://skl.cc-lotus.info'
       }
     }
   }