fix: 修复webdav无法修改文件的问题 #86

This commit is contained in:
jmal 2024-05-11 17:04:54 +08:00
parent cbe1f7c460
commit da9f6d8c9f
2 changed files with 2 additions and 1 deletions

View File

@ -116,6 +116,7 @@ http {
proxy_set_header X-Real-PORT $remote_port;
proxy_set_header X-Forwarded-Host $the_host/file;
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 Host $http_host;
proxy_set_header Scheme $scheme;

View File

@ -9,7 +9,7 @@ export default {
},
// webDAV的url
webDAVUrl: function(username) {
return window.location.origin + `${this.baseUrl}/webDAV/${username}`
return window.location.origin + `/webDAV/${username}`
},
// office api url
officeApiUrl: function() {