mirror of
				https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
				synced 2025-11-04 16:23:41 +08:00 
			
		
		
		
	feat: fix the logtics of client joining webdav url
This commit is contained in:
		@@ -75,7 +75,7 @@ export function createWebDavClient(store: SyncStore) {
 | 
			
		||||
      }
 | 
			
		||||
 | 
			
		||||
      let url;
 | 
			
		||||
      if (proxyUrl.length > 0 || proxyUrl === "/") {
 | 
			
		||||
      if (proxyUrl.length > 0) {
 | 
			
		||||
        let u = new URL(proxyUrl + "api/webdav/" + path);
 | 
			
		||||
        // add query params
 | 
			
		||||
        u.searchParams.append("endpoint", config.endpoint);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user