aboutsummaryrefslogtreecommitdiff
path: root/src/stacker/server.js
blob: ee2fca6f3d8bfb62fb403d4f3ad93df1c5a9460b (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('/stacker', (req, res) => res.sendFile(__dirname + "/index.html"))
    server.get('/stacker/styles.css', (req, res) => res.sendFile(__dirname + "/static/styles.css"))
}

module.exports = {
    setUpRoutes
};