@samitouri / QOSami-HFS / commits / 70a85243

fix: admin/monitoring: file was displayed encoded

Massimo Melina committed Aug 2, 2023 at 16:19 UTC 70a85243329944f628a56f2830feb92bbf3c7479
1 file changed +1 -1
src/api.monitor.ts
+1 -1
@@ -86,7 +86,7 @@ const apis: ApiHandlers = {
86 archive: ctx.state.archive,
87 upload: ctx.state.uploadProgress,
88 path: ctx.state.uploadPath
89 - || (ctx.fileSource || ctx.state.archive) && ctx.path // only uploads and downloads
89 + || (ctx.fileSource || ctx.state.archive) && decodeURIComponent(ctx.path) // only uploads and downloads
90 }
91 }
92 },