From 7e6648902b262484bc0aac824c3784b1ae4b8591 Mon Sep 17 00:00:00 2001 From: Mark Powers Date: Sun, 12 Apr 2020 14:42:03 -0500 Subject: Update games, add scores --- src/pp/server.js | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 src/pp/server.js (limited to 'src/pp/server.js') diff --git a/src/pp/server.js b/src/pp/server.js new file mode 100644 index 0000000..c1a5370 --- /dev/null +++ b/src/pp/server.js @@ -0,0 +1,10 @@ +const express = require('express'); + +function setUpRoutes(server, models, jwtFunctions, database) { + // server.get('/pp', (req, res) => res.sendFile(__dirname + "/static/index.html")) + server.use('/pp', express.static(__dirname + "/static")) +} + +module.exports = { + setUpRoutes +}; -- cgit v1.2.3