fix a bunch is settings
This commit is contained in:
@@ -392,7 +392,7 @@ export class FileManager {
|
||||
*/
|
||||
async downloadFile(filename, path = '') {
|
||||
console.log('[FileManager] Downloading file:', { filename, path });
|
||||
const url = `/api/rooms/${this.roomManager.roomId}/files/${encodeURIComponent(filename)}`;
|
||||
let url = `/api/rooms/${this.roomManager.roomId}/files/${encodeURIComponent(filename)}`;
|
||||
if (path) {
|
||||
url += `?path=${encodeURIComponent(path)}`;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user