Commit 547eb9a2 authored by 神楽坂玲奈's avatar 神楽坂玲奈

fix

parent 6dc62402
...@@ -17,7 +17,7 @@ api.get('/state', function (req, res, next) { ...@@ -17,7 +17,7 @@ api.get('/state', function (req, res, next) {
}); });
api.get('/routers', 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) { api.get('/connections', function (req, res, next) {
res.json(connections); 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