1
0
mirror of https://github.com/matt-fidd/stratos.git synced 2026-01-01 22:59:28 +00:00

Fix multiple instantiation problem

This commit is contained in:
2022-03-30 10:08:46 +00:00
parent a97c2e3dc5
commit b489f055aa
4 changed files with 14 additions and 12 deletions

View File

@@ -76,6 +76,7 @@ router.all(/class\/(.{36})(\/.*)?/, async (req, res, next) => {
)))
return res.redirect('/admin/classes');
req.class = c;
next();
});