From c67ec3e696eea622e1cf171ce74ae98c52a3ebd1 Mon Sep 17 00:00:00 2001 From: Rodrigo Rodriguez Date: Sun, 9 Jul 2023 20:24:24 -0300 Subject: [PATCH] fix(all): Minor changes in PROD. BREAKING CHANGE. --- package.json | 1 + packages/core.gbapp/services/GBSSR.ts | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 2269f6b8..79aaae57 100644 --- a/package.json +++ b/package.json @@ -23,6 +23,7 @@ "bin": { "gbot": "./boot.cjs" }, + "readme": "README.md", "repository": { "type": "git", "url": "https://github.com/GeneralBots/BotServer.git" diff --git a/packages/core.gbapp/services/GBSSR.ts b/packages/core.gbapp/services/GBSSR.ts index ddb34353..b44a4422 100644 --- a/packages/core.gbapp/services/GBSSR.ts +++ b/packages/core.gbapp/services/GBSSR.ts @@ -332,7 +332,7 @@ export class GBSSR { 'build', url === '/' || url === '' ? `index.html` : url ); - if (GBServer.globals.wwwroot && url === '/'){ + if (GBServer.globals.wwwroot && url === '/') { path = GBServer.globals.wwwroot + "/index.html"; // TODO. } if (!min) {