Commit 57bf4696 authored by nanamicat's avatar nanamicat

fix

parent a32ff83d
......@@ -17,7 +17,7 @@ api.get('/state', function (req, res, next) {
});
api.get('/routers', function (req, res, next) {
res.json(routers.map((r) => _.pick(r, ['id', 'name', 'location', 'host', 'port', 'user'])));
res.json(routers.map((r) => _.pick(r, ['id', 'name', 'location', 'host', 'sshPort', 'user'])));
});
api.get('/connections', function (req, res, next) {
res.json(connections);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment