Skip to content

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

426 B
Raw Blame
export const getInfrastructurePath = (projectRef?: string) =>
  `/project/${projectRef ?? '_'}/settings/infrastructure`

export const getReadReplicaPath = (projectRef: string | undefined, replicaId: string) =>
  `/project/${projectRef ?? '_'}/settings/infrastructure/replica/${replicaId}`

export const getAddReadReplicaPath = (projectRef?: string) =>
  `/project/${projectRef ?? '_'}/settings/infrastructure?addReplica=true`