INNER CODE UNIT · JavaScript

handleCheckStatus

alohe/quicky · index.js:1654

		const handleCheckStatus = async () => {
			const info = getPm2Status(
				config.webhook?.pm2Name,
			);
			if (info?.status === "online") {
				log(chalk.green("Webhook server is running."));
				log(
					chalk.green(
						`Dashboard available at: http://localhost:${config.webhook.webhookPort}/dashboard`,
					),
				);
			} else {
				log(chalk.red("Webhook server is not running."));
			}
		};

		const handleStop = async () => {
			if (config.webhook?.pm2Name) {

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…