From db3a379e5aba3d3e5ae5c6846b889cde603684d5 Mon Sep 17 00:00:00 2001 From: Carl Worth Date: Tue, 20 Dec 2022 19:24:28 -0800 Subject: [PATCH] Route /tardis to another page The page is just a placeholder for now, but later we'll put an actual puzzle here. --- index.js | 12 ++++++++++++ tardis.html | 28 ++++++++++++++++++++++++++++ 2 files changed, 40 insertions(+) create mode 100644 tardis.html diff --git a/index.js b/index.js index e573fdb..46b536b 100644 --- a/index.js +++ b/index.js @@ -68,6 +68,18 @@ app.get('/index.html', (req, res) => { res.sendFile(__dirname + '/index.html'); }); +app.get('/tardis', (req, res) => { + res.sendFile(__dirname + '/tardis.html'); +}); + +app.get('/tardis/', (req, res) => { + res.sendFile(__dirname + '/tardis.html'); +}); + +app.get('/tardis/index.html', (req, res) => { + res.sendFile(__dirname + '/tardis.html'); +}); + io.on('connection', (socket) => { // First things first, tell the client their name (if any) diff --git a/tardis.html b/tardis.html new file mode 100644 index 0000000..2739b94 --- /dev/null +++ b/tardis.html @@ -0,0 +1,28 @@ + + + + + + ZOMBO + + + + + + + +
+ + + +

+ This tardis is locked. Do you have a sonic screwdriver? +

+ +
+ + -- 2.43.0