mirror of
https://github.com/dreamhunter2333/cloudflare_temp_email.git
synced 2026-09-05 07:27:27 +08:00
feat: upgrade dependencies && add ci build telegram-frontend.zip (#467)
This commit is contained in:
@@ -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()
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user