new(all): WebDav support for all bots.
This commit is contained in:
parent
8e2c747723
commit
3670324d99
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ export class ImageProcessingServices {
|
||||||
// TODO: const img = await joinImages(paths);
|
// TODO: const img = await joinImages(paths);
|
||||||
const localName = Path.join('work', path, 'cache', `img-mrg${GBAdminService.getRndReadableIdentifier()}.png`);
|
const localName = Path.join('work', path, 'cache', `img-mrg${GBAdminService.getRndReadableIdentifier()}.png`);
|
||||||
const url = urlJoin(GBServer.globals.publicAddress, min.botId, 'cache', Path.basename(localName));
|
const url = urlJoin(GBServer.globals.publicAddress, min.botId, 'cache', Path.basename(localName));
|
||||||
img.toFile(localName);
|
// img.toFile(localName);
|
||||||
|
|
||||||
return { localName: localName, url: url, data: null };
|
return { localName: localName, url: url, data: null };
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue