new(basic.gblib): SEND FILE pdf as temporary images ViewOnce.
This commit is contained in:
parent
24c8d5c625
commit
db746f06fe
1 changed files with 1 additions and 1 deletions
|
@ -308,7 +308,7 @@ export class GBSSR {
|
||||||
// Checks if the bot has an .gbui published or use default.gbui.
|
// Checks if the bot has an .gbui published or use default.gbui.
|
||||||
|
|
||||||
if (!await GBUtil.exists(packagePath)) {
|
if (!await GBUtil.exists(packagePath)) {
|
||||||
packagePath = path.join(process.env.PWD, 'packages', `default.gbui`);
|
packagePath = path.join(process.env.PWD, 'packages', `default.gbui`, 'build');
|
||||||
}
|
}
|
||||||
let parts = req.url.replace(`/${botId}`, '').split('?');
|
let parts = req.url.replace(`/${botId}`, '').split('?');
|
||||||
let url = parts[0];
|
let url = parts[0];
|
||||||
|
|
Loading…
Add table
Reference in a new issue