fix (templates): ai-search OK. Fix themes.
This commit is contained in:
		
							parent
							
								
									e8f12f3a8a
								
							
						
					
					
						commit
						146cedff22
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
					@ -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;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue