From 77d5b4ee68b079c1e84f76e06b888bfaff67d39c Mon Sep 17 00:00:00 2001 From: Rodrigo Rodriguez Date: Sun, 9 Jul 2023 20:00:05 -0300 Subject: [PATCH] fix(all): Minor changes in PROD. --- packages/core.gbapp/services/GBSSR.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/core.gbapp/services/GBSSR.ts b/packages/core.gbapp/services/GBSSR.ts index 1c658b94..ddb34353 100644 --- a/packages/core.gbapp/services/GBSSR.ts +++ b/packages/core.gbapp/services/GBSSR.ts @@ -335,6 +335,9 @@ export class GBSSR { if (GBServer.globals.wwwroot && url === '/'){ path = GBServer.globals.wwwroot + "/index.html"; // TODO. } + if (!min) { + path = Path.join(GBServer.globals.wwwroot, url); + } if (Fs.existsSync(path)) { if (min) { let html = Fs.readFileSync(path, 'utf8');