mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-02 08:32:41 +00:00
No need to stringify Theme Bundle object
This commit is contained in:
@@ -297,8 +297,8 @@ const api = {
|
||||
snippets : completeSnippets.reverse()
|
||||
};
|
||||
|
||||
res.setHeader('Content-Type', 'text/json');
|
||||
return res.status(200).send(JSON.stringify(returnObj));
|
||||
res.setHeader('Content-Type', 'application/json');
|
||||
return res.status(200).send(returnObj);
|
||||
},
|
||||
//Return CSS for a brew theme, with @include endpoint for its parent theme if any
|
||||
getBrewThemeCSS : async (req, res)=>{
|
||||
|
||||
Reference in New Issue
Block a user