aboutsummaryrefslogtreecommitdiff
path: root/src/pp/server.js
diff options
context:
space:
mode:
authorMark Powers <markppowers0@gmail.com>2020-04-12 14:42:03 -0500
committerMark Powers <markppowers0@gmail.com>2020-04-12 14:42:03 -0500
commit7e6648902b262484bc0aac824c3784b1ae4b8591 (patch)
treebc56275222a58228fd714af0dad58c660f004ab7 /src/pp/server.js
parent1bffb064e2414ced5b1924a4f9fbd822a09c718e (diff)
Update games, add scores
Diffstat (limited to 'src/pp/server.js')
-rw-r--r--src/pp/server.js10
1 files changed, 10 insertions, 0 deletions
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
+};