Merge pull request #1229 from Computroniks/#1209-Logout-button-in-navbar

Add #1209: logout button in navbar
This commit is contained in:
Louis Lam 2022-04-19 19:59:52 +08:00 committed by GitHub
commit 10f6a3c4f5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 127 additions and 20 deletions

View file

@ -87,5 +87,7 @@ module.exports.autoStart = async (token) => {
module.exports.stop = async () => {
console.log("Stop cloudflared");
cloudflared.stop();
if (cloudflared) {
cloudflared.stop();
}
};