0
0
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:
Trevor Buckner
2024-07-20 11:39:23 -04:00
parent f364f054f8
commit 0a5ff213de
2 changed files with 1 additions and 7 deletions

View File

@@ -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