From: Carl Worth Date: Wed, 21 Dec 2022 03:24:28 +0000 (-0800) Subject: Route /tardis to another page X-Git-Url: https://git.cworth.org/git?p=zombocom-ai;a=commitdiff_plain;h=db3a379e5aba3d3e5ae5c6846b889cde603684d5 Route /tardis to another page The page is just a placeholder for now, but later we'll put an actual puzzle here. --- 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? +

+ +
+ +