/** * Test endpoint to trigger 404 DOOM game * Mount this in your test environment to verify functionality */ import express from 'express'; const router = express.Router(); /** * GET /test/doom * Test endpoint to verify DOOM 404 integration * @route GET /test/doom * @returns {html} DOOM game page */ router.get('/doom', (req, res) => { res.send(`
Click any of these links to test the DOOM 404 error page:
The DOOM game interface with red walls, HUD information, and interactive controls.
Test that API routes still return JSON errors:
📡 /api/v3/nonexistentExpected response: JSON with code: "ENDPOINT_NOT_FOUND"
If you see this page instead of DOOM:
/backend/routes/error-pages/doom404.html/backend/routes/error-pages/index.js - Route handler/backend/routes/error-pages/doom404.html - Game interface/backend/server.js - Integration point🎮 DOOM 404 Status: READY | Version: 1.0.0 | Last Check:
`); }); export default router;