Phase 3: AR hunt /hunt + launch page /play - shared-visual ghosts, colour lure, hauntometer

This commit is contained in:
2026-06-23 11:12:44 +10:00
parent efadc85195
commit 6a5fb9d8c6
54 changed files with 9630 additions and 0 deletions
+11
View File
@@ -41,6 +41,17 @@ app.get('/preview', (_req, res) => {
});
// JSON error handler (multer + thrown errors).
// Hunt page (Phase 3 AR ghost hunt; standalone, no auth).
app.get('/hunt', (_req, res) => {
res.sendFile(join(__dirname, 'public', 'hunt.html'));
});
// Landing / launch page.
app.get('/play', (_req, res) => {
res.sendFile(join(__dirname, 'public', 'play.html'));
});
app.use((err, _req, res, _next) => {
console.error(err);
res.status(err.status || 500).json({ error: err.message || 'server error' });