step 5.3: done

This commit is contained in:
bepis
2026-10-20 22:55:51 +11:00
parent 0e053aaee0
commit bf3cb35e68
6 changed files with 248 additions and 22 deletions
+1
View File
@@ -57,6 +57,7 @@ function createApp() {
app.get('/api/inventory', requireAuth, inventoryRoutes.getInventory);
app.post('/api/inventory/equip', requireAuth, inventoryRoutes.postEquip);
app.post('/api/inventory/unequip', requireAuth, inventoryRoutes.postUnequip);
app.post('/api/inventory/use', requireAuth, inventoryRoutes.postUse);
// Central error handler
app.use((err, _req, res, _next) => {