From 8045055c8eb1756f434a0980700631361ec67288 Mon Sep 17 00:00:00 2001 From: Exelo Date: Tue, 11 Nov 2025 07:49:43 +0100 Subject: [PATCH] fix: correct file path check for main module loading --- apps/web/src/loader/loader.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/web/src/loader/loader.ts b/apps/web/src/loader/loader.ts index 2663118..595e579 100644 --- a/apps/web/src/loader/loader.ts +++ b/apps/web/src/loader/loader.ts @@ -12,7 +12,7 @@ export const loadGameFiles = async ( let mainModule = undefined; logger.info("Starting load game files from cache"); for (const file of manifest.files) { - if (file.path === "index.js") { + if (file.path === "/index.js") { const resModule = await loadScript(file); if (resModule) mainModule = resModule; continue;