The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
fix: update chart routing path, add edge logs redirect
TzeYiing3b7b7ea32bb9
diff --git a/studio/components/interfaces/Home/ProjectUsage.tsx b/studio/components/interfaces/Home/ProjectUsage.tsxindex 1b930dff772..3bdd1ed3a8a 100644--- a/studio/components/interfaces/Home/ProjectUsage.tsx+++ b/studio/components/interfaces/Home/ProjectUsage.tsx@@ -51,9 +51,9 @@ const ProjectUsage: FC<Props> = ({}) => {if (timestampDigits < 16) {// pad unix timestamp with additional 0 and then forwardconst paddedTimestamp = String(timestamp) + '0'.repeat(16 - timestampDigits)- router.push(`/project/${ref}/database/api-logs?te=${paddedTimestamp}`)+ router.push(`/project/${ref}/logs/edge-logs?te=${paddedTimestamp}`)} else {- router.push(`/project/${ref}/database/api-logs?te=${timestamp}`)+ router.push(`/project/${ref}/logs/edge-logs?te=${timestamp}`)}}diff --git a/studio/next.config.js b/studio/next.config.jsindex 0684e797af3..b5a58721745 100644--- a/studio/next.config.js+++ b/studio/next.config.js@@ -75,6 +75,11 @@ const nextConfig = {destination: '/project/:ref/settings/billing/subscription',permanent: true,},+ {+ source: '/project/:ref/database/api-logs',+ destination: '/project/:ref/logs/edge-logs',+ permanent: true,+ },{source: '/project/:ref/database/postgres-logs',destination: '/project/:ref/logs/postgres-logs',