Browse Source

更新文件上传配置

woody 8 tháng trước cách đây
mục cha
commit
f01b3b0c1b

+ 3 - 4
src/main/resources/application-dev.yml

@@ -48,10 +48,9 @@ security:
         refresh-token-timeout: 7776000
 
 upload:
-  clients:
-    - path: /home/chelvc/static
-      domain: https://test.chelvc.com/file
-      channel: DEFAULT
+  directory: /home/chelvc/static
+  domain: https://test.chelvc.com/file
+  channel: DEFAULT
 
 location:
   clients:

+ 3 - 4
src/main/resources/application-pre.yml

@@ -48,10 +48,9 @@ security:
         refresh-token-timeout: 7776000
 
 upload:
-  clients:
-    - path: /home/chelvc/static
-      domain: https://test.chelvc.com/file
-      channel: DEFAULT
+  directory: /home/chelvc/static
+  domain: https://test.chelvc.com/file
+  channel: DEFAULT
 
 location:
   clients:

+ 3 - 4
src/main/resources/application-prod.yml

@@ -48,10 +48,9 @@ security:
         refresh-token-timeout: 7776000
 
 upload:
-  clients:
-    - path: /home/chelvc/static
-      domain: https://test.chelvc.com/file
-      channel: DEFAULT
+  directory: /home/chelvc/static
+  domain: https://test.chelvc.com/file
+  channel: DEFAULT
 
 location:
   clients:

+ 3 - 4
src/main/resources/application-test.yml

@@ -48,10 +48,9 @@ security:
         refresh-token-timeout: 7776000
 
 upload:
-  clients:
-    - path: /home/chelvc/static
-      domain: https://test.chelvc.com/file
-      channel: DEFAULT
+  directory: /home/chelvc/static
+  domain: https://test.chelvc.com/file
+  channel: DEFAULT
 
 location:
   clients: