aboutsummaryrefslogtreecommitdiff
path: root/src/pinball/server.js
blob: ae215b259ffa778d44dbb1b8f2f92025632f4707 (plain)
1
2
3
4
5
6
7
8
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
};