Skip to content

Commit

Permalink
fix(all): Minor changes in PROD.
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigorodriguez committed Jul 9, 2023
1 parent 45f7aed commit 77d5b4e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/core.gbapp/services/GBSSR.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down

0 comments on commit 77d5b4e

Please sign in to comment.