blob: 13c8fd07a78cfe3ff1e4e638575b6ab4b97ae140 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
const path = require('path');
const fs = require('fs');
const express = require('express');
function setUpRoutes(server, models, jwtFunctions, database) {
// server.get('/cosmic-cargo', (req, res) => res.sendFile(__dirname + "/cosmic-cargo/index.html"))
server.use('/cosmic-cargo', express.static(__dirname + '/static'))
}
module.exports = {
setUpRoutes
};
|