forward progress

This commit is contained in:
Luke Berndt
2021-01-17 10:52:00 -05:00
parent e20529b7f5
commit 2035855a77
18 changed files with 52 additions and 54 deletions

View File

@@ -142,7 +142,7 @@ app.post("/systems/:shortName", [isLoggedIn, systems.ownSystem, systems.validate
app.post("/systems", [isLoggedIn, systems.uniqueShortName, systems.validateSystem, systems.createSystem])
app.get("*", (req, res, next) => {
res.sendFile('public/index.html');
res.sendFile(__dirname + '/public/index.html');
});
// start listening to incoming requests