diff --git a/packages/core.gbapp/services/GBSSR.ts b/packages/core.gbapp/services/GBSSR.ts index 37e44436..bc46280d 100644 --- a/packages/core.gbapp/services/GBSSR.ts +++ b/packages/core.gbapp/services/GBSSR.ts @@ -336,6 +336,9 @@ export class GBSSR { if (GBServer.globals.wwwroot && url === '/') { packagePath = GBServer.globals.wwwroot + "/index.html"; // TODO. } + if (!min && !url.startsWith("/images") && GBServer.globals.wwwroot) { + packagePath = path.join(GBServer.globals.wwwroot, url); + } if (!min && !url.startsWith("/static") && GBServer.globals.wwwroot) { packagePath = path.join(GBServer.globals.wwwroot, url); }