Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

fix: local project detail api to include new props

phamhieu4073b325fdb1
diff --git a/studio/pages/api/projects/[ref]/index.ts b/studio/pages/api/projects/[ref]/index.ts
index 4c525abd79f..83aedce1b06 100644
--- a/studio/pages/api/projects/[ref]/index.ts
+++ b/studio/pages/api/projects/[ref]/index.ts
@@ -33,6 +33,9 @@ const handleGet = async (req: NextApiRequest, res: NextApiResponse) => {
db_name: 'postgres',
db_ssl: false,
}),
+ kpsVersion: 'kps-v1.0.0',
+ restUrl: process.env.SUPABASE_REST_URL || 'http://localhost:8000/rest/v1/',
+ internalApiKey: process.env.SUPABASE_ANON_KEY,
}
return res.status(200).json(response)