fix(all): Minor changes in PROD.
BREAKING CHANGE.
This commit is contained in:
parent
74ca05e6f8
commit
c67ec3e696
2 changed files with 2 additions and 1 deletions
|
@ -23,6 +23,7 @@
|
|||
"bin": {
|
||||
"gbot": "./boot.cjs"
|
||||
},
|
||||
"readme": "README.md",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/GeneralBots/BotServer.git"
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Add table
Reference in a new issue