Skip to content

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

chore: update create project route

phamhieu33f65727daad
diff --git a/studio/pages/new/[slug].tsx b/studio/pages/new/[slug].tsx
index 539c8a4ca2a..43c762a46a6 100644
--- a/studio/pages/new/[slug].tsx
+++ b/studio/pages/new/[slug].tsx
@@ -167,7 +167,7 @@ export const Wizard = () => {
db_pass: dbPass,
db_region: dbRegion,
}
- const response = await post(`${API_URL}/projects/new`, data)
+ const response = await post(`${API_URL}/projects`, data)
if (response.error) {
setNewProjectLoading(false)
ui.setNotification({
diff --git a/studio/pages/vercel/setupProject.tsx b/studio/pages/vercel/setupProject.tsx
index 044a87fd987..cbf63928e64 100644
--- a/studio/pages/vercel/setupProject.tsx
+++ b/studio/pages/vercel/setupProject.tsx
@@ -218,7 +218,7 @@ const CreateProject = observer(() => {
auth_site_url: _store.selectedVercelProjectUrl,
vercel_configuration_id: _store.configurationId,
}
- return await post(`${API_URL}/projects/new`, data)
+ return await post(`${API_URL}/projects`, data)
}
async function onCreateProject() {