diff options
Diffstat (limited to 'src/pp/server.js')
-rw-r--r-- | src/pp/server.js | 10 |
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 +}; |