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": {
|
"bin": {
|
||||||
"gbot": "./boot.cjs"
|
"gbot": "./boot.cjs"
|
||||||
},
|
},
|
||||||
|
"readme": "README.md",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/GeneralBots/BotServer.git"
|
"url": "https://github.com/GeneralBots/BotServer.git"
|
||||||
|
|
|
@ -332,7 +332,7 @@ export class GBSSR {
|
||||||
'build',
|
'build',
|
||||||
url === '/' || url === '' ? `index.html` : url
|
url === '/' || url === '' ? `index.html` : url
|
||||||
);
|
);
|
||||||
if (GBServer.globals.wwwroot && url === '/'){
|
if (GBServer.globals.wwwroot && url === '/') {
|
||||||
path = GBServer.globals.wwwroot + "/index.html"; // TODO.
|
path = GBServer.globals.wwwroot + "/index.html"; // TODO.
|
||||||
}
|
}
|
||||||
if (!min) {
|
if (!min) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue