fix: 修复webdav无法修改文件的问题 #86
This commit is contained in:
parent
cbe1f7c460
commit
da9f6d8c9f
@ -116,6 +116,7 @@ http {
|
|||||||
proxy_set_header X-Real-PORT $remote_port;
|
proxy_set_header X-Real-PORT $remote_port;
|
||||||
proxy_set_header X-Forwarded-Host $the_host/file;
|
proxy_set_header X-Forwarded-Host $the_host/file;
|
||||||
proxy_set_header X-Forwarded-Proto $the_scheme;
|
proxy_set_header X-Forwarded-Proto $the_scheme;
|
||||||
|
proxy_set_header X-Forwarded-Port $server_port;
|
||||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
proxy_set_header Host $http_host;
|
proxy_set_header Host $http_host;
|
||||||
proxy_set_header Scheme $scheme;
|
proxy_set_header Scheme $scheme;
|
||||||
|
|||||||
@ -9,7 +9,7 @@ export default {
|
|||||||
},
|
},
|
||||||
// webDAV的url
|
// webDAV的url
|
||||||
webDAVUrl: function(username) {
|
webDAVUrl: function(username) {
|
||||||
return window.location.origin + `${this.baseUrl}/webDAV/${username}`
|
return window.location.origin + `/webDAV/${username}`
|
||||||
},
|
},
|
||||||
// office api url
|
// office api url
|
||||||
officeApiUrl: function() {
|
officeApiUrl: function() {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user