fix(frontend): say the database is missing, not Supabase
Independent Staging Quality Gate / validate (push) Successful in 9m34s
Independent Staging Quality Gate / publish (push) Successful in 7m21s

Self-hosted PostgreSQL is the runtime. A missing APP_DATABASE_URL
must not tell users the retired hosted service is unconfigured.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Jesse_Chen
2026-08-29 09:44:53 +08:00
co-authored by Cursor
parent 3198fb6b2b
commit 31b54aa71d
22 changed files with 90 additions and 28 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ export async function GET() {
} catch (error) {
if (error instanceof Error) {
return NextResponse.json(
{ error: "服务尚未配置", message: "请先配置 Supabase 环境变量。" },
{ error: "服务尚未配置", message: "请先配置数据库环境变量。" },
{ status: 503 },
);
}