fix (templates): ai-search OK. Fix themes.

This commit is contained in:
Rodrigo Rodriguez 2024-09-19 22:52:28 -03:00
parent e8f12f3a8a
commit 146cedff22

View file

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