Phase 3: AR hunt /hunt + launch page /play - shared-visual ghosts, colour lure, hauntometer
This commit is contained in:
@@ -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' });
|
||||
|
||||
Reference in New Issue
Block a user