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:
@@ -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
|
||||
|
Reference in New Issue
Block a user