0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-24 20:42:43 +00:00

Fix issue with empty theme ( /faq )

This commit is contained in:
David Bolack
2024-02-28 14:53:40 -06:00
parent 544bc9bd01
commit 753b3befad
2 changed files with 3 additions and 2 deletions

View File

@@ -184,7 +184,7 @@ const BrewRenderer = (props)=>{
let rendererPath = props.renderer == 'V3' ? 'V3' : 'Legacy';
let baseRendererPath = props.renderer == 'V3' ? 'V3' : 'Legacy';
const blankRendererPath = props.renderer == 'V3' ? 'V3' : 'Legacy';
if(props.theme[0] === '#') {
if(props?.theme && (props?.theme[0] === '#')) {
rendererPath = 'Brew';
}
let themePath = props.theme ?? '5ePHB';

View File

@@ -6,5 +6,6 @@
"enable_v3" : true,
"enable_themes" : true,
"local_environments" : ["docker", "local"],
"publicUrl" : "https://homebrewery.naturalcrit.com"
"publicUrl" : "https://homebrewery.naturalcrit.com",
"mongodb_uri" : "mongodb://127.0.0.1/homebrewery3"
}