mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2025-12-28 17:52:38 +00:00
use same theme endpoint for user and static themes
`getThemeBundle()` rework no longer needs two separate endpoints
This commit is contained in:
@@ -78,9 +78,6 @@ app.get('/robots.txt', (req, res)=>{
|
||||
});
|
||||
|
||||
// Theme
|
||||
// Path for User Themes
|
||||
app.get('/theme/:id', asyncHandler(getThemeBundle));
|
||||
// Path for Static Themes
|
||||
app.get('/theme/:renderer/:id', asyncHandler(getThemeBundle));
|
||||
|
||||
//Home page
|
||||
|
||||
Reference in New Issue
Block a user