aboutsummaryrefslogtreecommitdiff
path: root/src/sim/server.js
blob: 5328b035a6c90c04ba7c377e7d757d21aa9a2ba4 (plain)
1
2
3
4
5
6
7
8
9
10
function setUpRoutes(server, models, jwtFunctions, database) {
    server.get('/sim', (req, res) => res.sendFile(__dirname + "/index.html"))
    server.get('/sim/styles.css', (req, res) => res.sendFile(__dirname + "/static/styles.css"))
    server.get('/sim/tiles.js', (req, res) => res.sendFile(__dirname + "/static/tiles.js"))
    server.get('/sim/items.js', (req, res) => res.sendFile(__dirname + "/static/items.js"))
}

module.exports = {
    setUpRoutes
};