fix (templates): ai-search OK. Image by AI.

This commit is contained in:
Rodrigo Rodriguez 2024-09-19 23:01:45 -03:00
parent 146cedff22
commit 441dea2c22

View file

@ -712,7 +712,7 @@ export class GBDeployer implements IGBDeployer {
case '.gbtheme':
// Updates server listeners to serve theme files in .gbtheme.
const filePath = path.join(GBConfigService.get('STORAGE_TEMPLATE'), gbai, packageName);
const filePath = path.join(GBConfigService.get('STORAGE_LIBRARY'), 'default.gbai', 'default.gbtheme');
GBServer.globals.server.use('/' + urlJoin('themes', packageName), express.static( filePath));
GBLogEx.info(min, `Theme (.gbtheme) assets accessible at: /themes/${packageName}.`);