removed log
This commit is contained in:
parent
999ef760c0
commit
84745ac2f2
3 changed files with 0 additions and 3 deletions
|
@ -158,7 +158,6 @@ export const remote1 = {
|
||||||
client.remoteKey = data.publicKey;
|
client.remoteKey = data.publicKey;
|
||||||
aws("ok", client.challenge);
|
aws("ok", client.challenge);
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
console.log(e);
|
|
||||||
client.suspect();
|
client.suspect();
|
||||||
aws("error", "signature");
|
aws("error", "signature");
|
||||||
}
|
}
|
||||||
|
|
|
@ -128,7 +128,6 @@ export class postClient {
|
||||||
send = true;
|
send = true;
|
||||||
});
|
});
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
console.log(e);
|
|
||||||
error("POST", "act error:", e);
|
error("POST", "act error:", e);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -103,7 +103,6 @@ const updateCert = async (server: outbagServer) => {
|
||||||
|
|
||||||
export const getRemote = async (server: outbagServer) => {
|
export const getRemote = async (server: outbagServer) => {
|
||||||
if (certList[server.tag] == null || certList[server.tag].exp >= uts()) await updateCert(server);
|
if (certList[server.tag] == null || certList[server.tag].exp >= uts()) await updateCert(server);
|
||||||
console.log(server.tag, certList[server.tag]);
|
|
||||||
if (certList[server.tag] != null) return certList[server.tag].cert;
|
if (certList[server.tag] != null) return certList[server.tag].cert;
|
||||||
else throw new Error("Cert Error");
|
else throw new Error("Cert Error");
|
||||||
};
|
};
|
Loading…
Reference in a new issue