INNER CODE UNIT · JavaScript
handleStop
alohe/quicky · index.js:1670
const handleStop = async () => {
if (config.webhook?.pm2Name) {
pm2DeleteIfExists(config.webhook.pm2Name);
pm2Save();
log(
chalk.green(
"Webhook server stopped successfully.",
),
);
} else {
log(
chalk.yellow("Webhook server is not running."),
);
}
};
const handleShowLogs = async () => {
try {