mirror of
https://github.com/openmhz/trunk-server.git
synced 2026-11-12 16:57:39 -05:00
forward progress
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user