fix(all): Minor changes in PROD.

BREAKING CHANGE.
This commit is contained in:
Rodrigo Rodriguez 2023-07-09 20:24:24 -03:00
parent 74ca05e6f8
commit c67ec3e696
2 changed files with 2 additions and 1 deletions

View file

@ -23,6 +23,7 @@
"bin": {
"gbot": "./boot.cjs"
},
"readme": "README.md",
"repository": {
"type": "git",
"url": "https://github.com/GeneralBots/BotServer.git"

View file

@ -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) {