Fixed typo for ssh deploy key lookup

master
Felix Stupp 6 years ago
parent 03da1f44a4
commit cb06d8ec44

@ -43,7 +43,7 @@ function keyReq(table, req, res) {
"/" + user + "@" + host + "/" + type, "/" + user + "@" + host + "/" + type,
].forEach(e => { ].forEach(e => {
userRouter.get(e, (req, res) => keyReq("sshUserKeys", req, res)); userRouter.get(e, (req, res) => keyReq("sshUserKeys", req, res));
deployRouter.get(e, (req, res) => keyReg("sshDeployKeys", req, res)); deployRouter.get(e, (req, res) => keyReq("sshDeployKeys", req, res));
}); });
module.exports = router; module.exports = router;
Loading…
Cancel
Save