feat: last online

This commit is contained in:
dec0dOS 2022-08-26 02:25:16 +03:00
commit 40f98cc9df
9 changed files with 82 additions and 64 deletions

View file

@ -5,6 +5,8 @@ module.exports = async function () {
const res = await api.get("status");
return res.data.address;
} catch (err) {
console.error(err);
console.error(
"Couldn't connect to the controller on " + err.config.baseURL
);
}
};