aboutsummaryrefslogtreecommitdiff
path: root/src/snake/server.js
blob: c73990b80922b4bf533d263b310e83adb309549b (plain)
1
2
3
4
5
6
7
8
9
10
11
const path = require('path');
const fs = require('fs');

function setUpRoutes(server, models, jwtFunctions, database) {
    server.get('/snake', (req, res) => res.sendFile(__dirname + "/index.html"))
    server.get('/snake/styles.css', (req, res) => res.sendFile(__dirname + "/static/styles.css"))
}

module.exports = {
    setUpRoutes
};