Skip to content

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

Fix list view urls

Terry Sutton51dc6e0c9fd1
diff --git a/studio/components/interfaces/Functions/FunctionsListItem.tsx b/studio/components/interfaces/Functions/FunctionsListItem.tsx
index 91e871ce560..9fd0de9089f 100644
--- a/studio/components/interfaces/Functions/FunctionsListItem.tsx
+++ b/studio/components/interfaces/Functions/FunctionsListItem.tsx
@@ -31,7 +31,7 @@ const FunctionsListItem: FC<Props> = ({ function: item }) => {
</Table.td>
<Table.td className="">
<div className="text-xs text-scale-900 flex gap-2 items-center truncate">
- <span className="font-mono truncate hidden md:inline">{`https://${ref}.functions.supabase.co/${item.slug}`}</span>
+ <span className="font-mono truncate hidden md:inline">{`https://${ref}.functions.supabase.net/${item.slug}`}</span>
<span className="font-mono truncate md:hidden">{`/${item.name}`}</span>
</div>
</Table.td>
diff --git a/studio/pages/project/[ref]/functions/[id]/details.tsx b/studio/pages/project/[ref]/functions/[id]/details.tsx
index 455358bb6b8..ae66b874224 100644
--- a/studio/pages/project/[ref]/functions/[id]/details.tsx
+++ b/studio/pages/project/[ref]/functions/[id]/details.tsx
@@ -110,7 +110,7 @@ const PageLayout: NextPageWithLayout = () => {
const invokeCommands: any = [
{
- command: `curl -L -X POST 'https://${ref}.functions.supabase.co/${
+ command: `curl -L -X POST 'https://${ref}.functions.supabase.net/${
selectedFunction?.slug
}' -H 'Authorization: Bearer ${anonKey ?? '[YOUR ANON KEY]'}' --data '{"name":"Functions"}'`,
description: 'Invokes the hello function',