Added shortcuts

master
Felix Stupp 5 years ago
parent 0d23b6f3c6
commit 7792ff65d2
Signed by: zocker
GPG Key ID: 93E1BD26F6B02FB7

@ -78,8 +78,8 @@ function route(path, route) {
app.use(path, require('./routes/' + route));
}
route("/ssh", "ssh");
route("/ping", "ping");
route(["/s", "/ssh"], "ssh");
route(["/p", "/ping"], "ping");
// catch 404 and forward to error handler
app.use(function (req, res, next) {

Loading…
Cancel
Save