From 1bffb064e2414ced5b1924a4f9fbd822a09c718e Mon Sep 17 00:00:00 2001 From: Mark Powers Date: Tue, 7 Apr 2020 14:17:24 -0500 Subject: Initial commit --- src/pinball/index.html | 120 +++++++++++++++++++++++++++++++++++++++++++++++++ src/pinball/server.js | 11 +++++ 2 files changed, 131 insertions(+) create mode 100644 src/pinball/index.html create mode 100644 src/pinball/server.js (limited to 'src/pinball') diff --git a/src/pinball/index.html b/src/pinball/index.html new file mode 100644 index 0000000..b39d48e --- /dev/null +++ b/src/pinball/index.html @@ -0,0 +1,120 @@ +
+ +
+ diff --git a/src/pinball/server.js b/src/pinball/server.js new file mode 100644 index 0000000..2bf88d5 --- /dev/null +++ b/src/pinball/server.js @@ -0,0 +1,11 @@ +const path = require('path'); +const fs = require('fs'); + +function setUpRoutes(server, models, jwtFunctions, database) { + server.get('/pinball', (req, res) => res.sendFile(__dirname + "/index.html")) + server.get('/pinball/styles.css', (req, res) => res.sendFile(__dirname + "/static/styles.css")) +} + +module.exports = { + setUpRoutes +}; -- cgit v1.2.3