mirror of
https://gitlab.com/MrFry/mrfrys-node-server
synced 2025-04-01 20:24:18 +02:00
user files sync fix: encoding uri components
This commit is contained in:
parent
7377b9b182
commit
a29d4d3541
1 changed files with 3 additions and 1 deletions
|
@ -105,7 +105,9 @@ async function downloadUserFiles(filesToGet: UserFileToGet[]) {
|
|||
{
|
||||
host: peer.host,
|
||||
port: peer.port,
|
||||
path: `/api/userFiles/${dir}/${fileName}`,
|
||||
path: `/api/userFiles/${encodeURIComponent(
|
||||
dir
|
||||
)}/${encodeURIComponent(fileName)}`,
|
||||
},
|
||||
filePath,
|
||||
peer.http
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue