feat: upgrade dependencies && add ci build telegram-frontend.zip (#467)

This commit is contained in:
Dream Hunter
2024-11-06 23:42:39 +08:00
committed by GitHub
parent cc9ac67319
commit 49b3f10838
10 changed files with 2807 additions and 2686 deletions
+6
View File
@@ -55,6 +55,12 @@ app.use('/*', async (c, next) => {
return c.text("Webhook is disabled", 403);
}
}
if (!c.env.DB) {
return c.text("DB is not available", 400);
}
if (!c.env.JWT_SECRET) {
return c.text("JWT_SECRET is not set", 400);
}
await next()
});