mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-10 02:42:43 +00:00
Correct omitted static path
This commit is contained in:
@@ -419,7 +419,7 @@ if(isLocalEnvironment){
|
|||||||
});
|
});
|
||||||
// Add Static Local Paths
|
// Add Static Local Paths
|
||||||
app.use('/staticImages', express.static(config.get('hb_images') && fs.existsSync(config.get('hb_images')) ? config.get('hb_images') :'staticImages'));
|
app.use('/staticImages', express.static(config.get('hb_images') && fs.existsSync(config.get('hb_images')) ? config.get('hb_images') :'staticImages'));
|
||||||
app.use(express.static(config.get('hb_fonts') && fs.existsSync(config.get('hb_fonts')) ? config.get('hb_fonts'):'staticFonts'));
|
app.use('/staticFonts', express.static(config.get('hb_fonts') && fs.existsSync(config.get('hb_fonts')) ? config.get('hb_fonts'):'staticFonts'));
|
||||||
}
|
}
|
||||||
|
|
||||||
//Render the page
|
//Render the page
|
||||||
|
|||||||
Reference in New Issue
Block a user