summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
e0b2d89)
Since that's what we have Apache configured to look for.
const server = http.createServer(app);
const port = 2122;
const server = http.createServer(app);
const port = 2122;
-app.get('/', (req, res) => {
+app.get('/index.html', (req, res) => {
res.sendFile(__dirname + '/index.html');
});
res.sendFile(__dirname + '/index.html');
});