mirror of
https://github.com/imsyy/DailyHotApi.git
synced 2026-01-12 13:14:55 +08:00
✨ feat: 新增 吾爱破解、果壳、快手
This commit is contained in:
@@ -59,7 +59,7 @@ app.get("/", (c) => c.html(<Home />));
|
||||
app.notFound((c) => c.html(<NotFound />, 404));
|
||||
// error
|
||||
app.onError((err, c) => {
|
||||
logger.error(`出现致命错误:${err}`);
|
||||
logger.error(`❌ [ERROR] ${err?.message}`);
|
||||
return c.html(<Error error={err?.message} />, 500);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user