From f70719fd90b869b6efd7389ca689e732c41c9c1c Mon Sep 17 00:00:00 2001 From: azures04 Date: Sun, 25 Jan 2026 22:40:30 +0100 Subject: [PATCH] Update gameDataService.js --- services/gameDataService.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/gameDataService.js b/services/gameDataService.js index 4409362..0a3c552 100644 --- a/services/gameDataService.js +++ b/services/gameDataService.js @@ -49,7 +49,7 @@ async function getGameFiles() { async function getFile(basePath) { try { - const fixedPath = path.join(gameDataPath, basePath) + const fixedPath = path.join(gameDataPath, decodeURI(basePath)) const fileMetadata = await fs.promises.stat(fixedPath) if (fileMetadata.isDirectory()) { throw new DefaultError(409, "Can't download a directory", "", "NotDownloadableException")