We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 49a6d75 commit e74a96aCopy full SHA for e74a96a
utils/upload/local.js
@@ -23,7 +23,7 @@ class Local {
23
await pipeline(mediaStream, fs.createWriteStream(filePath));
24
let data = {filePath}
25
if(this.baseUrl) {
26
- let downloadUrl = new URL('/'+fileName, this.baseUrl).href;
+ let downloadUrl = this.baseUrl+'/'+fileName;
27
data = {...data,downloadUrl}
28
}
29
return data;
0 commit comments