mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2025-12-24 20:42:43 +00:00
Missed $
This commit is contained in:
@@ -297,7 +297,7 @@ const api = {
|
||||
const themePath = req.brew.theme[0] != '#' ? `/css/${req.brew.renderer}/${req.brew.theme}` : `/css/${req.brew.theme.slice(1)}`;
|
||||
const parentThemeImport = `@import url(\"${themePath}\");\n\n`;
|
||||
const themeLocationComment = `/* From Brew: ${req.protocol}://${req.get('host')}/share/${req.brew.shareId} */\n\n`;
|
||||
return res.status(200).send(req.brew.renderer == 'legacy' ? '' : `${parentThemeImport}{themeLocationComment}`);
|
||||
return res.status(200).send(req.brew.renderer == 'legacy' ? '' : `${parentThemeImport}${themeLocationComment}`);
|
||||
},
|
||||
getStaticTheme : async(req, res)=>{
|
||||
const themeParent = isStaticTheme(req.params.engine, req.params.id);
|
||||
|
||||
Reference in New Issue
Block a user