Conversation
当 Turso 数据库环境变量缺失或数据库操作失败时,不再抛出 500 错误,而是将功能标记为禁用并返回正常响应。前端组件会据此隐藏访问量显示,避免影响页面正常渲染。在开发环境下保留警告日志以便调试。同时更新了 README 文档以说明此可选功能。
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
- 将项目标题翻译为中文并添加副标题 - 重写项目背景、目的与迭代历史,使其更具故事性和吸引力 - 详细说明使用 Notion API 作为数据源的缘由和优势 - 优化“如何部署”部分的步骤描述,使其更清晰易懂 - 更新官方示例站点链接和联系信息 - 整体提升文档的叙事性和可读性
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
当 Turso 数据库环境变量缺失或数据库操作失败时,不再抛出 500 错误,而是将功能标记为禁用并返回正常响应。前端组件会据此隐藏访问量显示,避免影响页面正常渲染。在开发环境下保留警告日志以便调试。同时更新了 README 文档以说明此可选功能。