Add root status route

这个提交包含在:
cryptocommuniums-afk
2026-02-01 15:10:00 +08:00
父节点 0059d78a71
当前提交 4c46b22c85

查看文件

@@ -95,6 +95,10 @@ app.get('/health', (req, res) => {
res.json({ status: 'ok', plan: PLAN });
});
app.get('/', (req, res) => {
res.status(200).send('Capay API online. Use /health for status.');
});
app.post('/merchants', async (req, res) => {
const { name, email, webhookUrl } = req.body || {};
if (!name || !email) {