The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
update www env vars
Francesco Sansalvadore98b2cdb45786
diff --git a/apps/www/.env b/apps/www/.envindex 6db5b58d782..e8331813364 100644--- a/apps/www/.env+++ b/apps/www/.env@@ -7,9 +7,11 @@NEXT_PUBLIC_URL="https://localhost:3000"NEXT_PUBLIC_DOCS_URL="http://localhost:3005"NEXT_PUBLIC_STUDIO_URL="https://localhost:8082"-NEXT_PUBLIC_LAUNCHWEEKSITE_URL="https://localhost:3008"NEXT_PUBLIC_REFERENCE_DOCS_URL="https://localhost:3010"-NEXT_PUBLIC_LW_STARTED=trueNEXT_PUBLIC_SITE_ORIGIN=http://localhost:3000-NEXT_PUBLIC_SUPABASE_URL=https://obuldanrptloktxcffvn.supabase.co-NEXT_PUBLIC_SUPABASE_ANON_KEY=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6Im9idWxkYW5ycHRsb2t0eGNmZnZuIiwicm9sZSI6ImFub24iLCJpYXQiOjE2OTIyNjkzMjYsImV4cCI6MjAwNzg0NTMyNn0.1S6qpBbHtEmGuMsIx5UOhRiFd4YbVv-yLTrLk6tVGmM\ No newline at end of file+NEXT_PUBLIC_MISC_USE_URL=+NEXT_PUBLIC_MISC_USE_ANON_KEY=++# CmdK / AI+NEXT_PUBLIC_SUPABASE_URL=+NEXT_PUBLIC_SUPABASE_ANON_KEY=\ No newline at end of filediff --git a/apps/www/pages/launch-week/6/index.tsx b/apps/www/pages/launch-week/6/index.tsxindex 4912c976a6b..6fdd1882cdd 100644--- a/apps/www/pages/launch-week/6/index.tsx+++ b/apps/www/pages/launch-week/6/index.tsx@@ -50,8 +50,8 @@ export default function launchweek() {if (!supabase) {setSupabase(createClient(- process.env.NEXT_PUBLIC_SUPABASE_URL!,- process.env.NEXT_PUBLIC_SUPABASE_ANON_KEY!+ process.env.NEXT_PUBLIC_MISC_USE_URL!,+ process.env.NEXT_PUBLIC_MISC_USE_ANON_KEY!))}diff --git a/apps/www/pages/launch-week/7/index.tsx b/apps/www/pages/launch-week/7/index.tsxindex 9900b746371..b4455bd61ee 100644--- a/apps/www/pages/launch-week/7/index.tsx+++ b/apps/www/pages/launch-week/7/index.tsx@@ -27,9 +27,9 @@ interface Props {}const supabaseAdmin = createClient(- process.env.NEXT_PUBLIC_SUPABASE_URL ?? 'http://localhost:54321',+ process.env.NEXT_PUBLIC_MISC_USE_URL ?? 'http://localhost:54321',// ANON KEY- process.env.NEXT_PUBLIC_SUPABASE_ANON_KEY!+ process.env.NEXT_PUBLIC_MISC_USE_ANON_KEY!)export default function TicketHome({ users }: Props) {const { isDarkMode, toggleTheme } = useTheme()diff --git a/apps/www/pages/launch-week/7/tickets/[username].tsx b/apps/www/pages/launch-week/7/tickets/[username].tsxindex be288f21893..bd26667f06a 100644--- a/apps/www/pages/launch-week/7/tickets/[username].tsx+++ b/apps/www/pages/launch-week/7/tickets/[username].tsx@@ -23,8 +23,8 @@ interface Props {}const supabaseAdmin = createClient(- process.env.NEXT_PUBLIC_SUPABASE_URL ?? 'http://localhost:54321',- process.env.NEXT_PUBLIC_SUPABASE_ANON_KEY!+ process.env.NEXT_PUBLIC_MISC_USE_URL ?? 'http://localhost:54321',+ process.env.NEXT_PUBLIC_MISC_USE_ANON_KEY!)export default function UsernamePage({ user, users, ogImageUrl }: Props) {@@ -35,7 +35,7 @@ export default function UsernamePage({ user, users, ogImageUrl }: Props) {const OG_URL = `${SITE_URL}/tickets/${username}`const [supabase] = useState(() =>- createClient(process.env.NEXT_PUBLIC_SUPABASE_URL!, process.env.NEXT_PUBLIC_SUPABASE_ANON_KEY!)+ createClient(process.env.NEXT_PUBLIC_MISC_USE_URL!, process.env.NEXT_PUBLIC_MISC_USE_ANON_KEY!))if (!ticketNumber) {diff --git a/apps/www/pages/launch-week/7/tickets/index.tsx b/apps/www/pages/launch-week/7/tickets/index.tsxindex 37cfc0c287b..f8fe65332e7 100644--- a/apps/www/pages/launch-week/7/tickets/index.tsx+++ b/apps/www/pages/launch-week/7/tickets/index.tsx@@ -21,8 +21,8 @@ interface Props {}const supabaseAdmin = createClient(- process.env.NEXT_PUBLIC_SUPABASE_URL ?? 'http://localhost:54321',- process.env.NEXT_PUBLIC_SUPABASE_ANON_KEY!+ process.env.NEXT_PUBLIC_MISC_USE_URL ?? 'http://localhost:54321',+ process.env.NEXT_PUBLIC_MISC_USE_ANON_KEY!)const generateOgs = async (users: UserData[]) => {diff --git a/apps/www/pages/launch-week/index.tsx b/apps/www/pages/launch-week/index.tsxindex f679a83999f..95cd7d5a1f3 100644--- a/apps/www/pages/launch-week/index.tsx+++ b/apps/www/pages/launch-week/index.tsx@@ -37,9 +37,9 @@ interface Props {}const supabaseAdmin = createClient(- process.env.NEXT_PUBLIC_SUPABASE_URL ?? 'http://localhost:54321',+ process.env.NEXT_PUBLIC_MISC_USE_URL ?? 'http://localhost:54321',// ANON KEY- process.env.NEXT_PUBLIC_SUPABASE_ANON_KEY!+ process.env.NEXT_PUBLIC_MISC_USE_ANON_KEY!)export default function TicketHome({ users, meetups }: Props) {@@ -72,8 +72,8 @@ export default function TicketHome({ users, meetups }: Props) {if (!supabase) {setSupabase(createClient(- process.env.NEXT_PUBLIC_SUPABASE_URL!,- process.env.NEXT_PUBLIC_SUPABASE_ANON_KEY!+ process.env.NEXT_PUBLIC_MISC_USE_URL!,+ process.env.NEXT_PUBLIC_MISC_USE_ANON_KEY!))}diff --git a/apps/www/pages/launch-week/tickets/[username].tsx b/apps/www/pages/launch-week/tickets/[username].tsxindex 28b957b7659..a00424ad964 100644--- a/apps/www/pages/launch-week/tickets/[username].tsx+++ b/apps/www/pages/launch-week/tickets/[username].tsx@@ -26,9 +26,9 @@ interface Props {}const supabaseAdmin = createClient(- process.env.NEXT_PUBLIC_SUPABASE_URL ?? 'http://localhost:54321',+ process.env.NEXT_PUBLIC_MISC_USE_URL ?? 'http://localhost:54321',// ANON KEY- process.env.NEXT_PUBLIC_SUPABASE_ANON_KEY!+ process.env.NEXT_PUBLIC_MISC_USE_ANON_KEY!)export default function UsernamePage({ user, users, ogImageUrl }: Props) {@@ -54,8 +54,8 @@ export default function UsernamePage({ user, users, ogImageUrl }: Props) {if (!supabase) {setSupabase(createClient(- process.env.NEXT_PUBLIC_SUPABASE_URL!,- process.env.NEXT_PUBLIC_SUPABASE_ANON_KEY!+ process.env.NEXT_PUBLIC_MISC_USE_URL!,+ process.env.NEXT_PUBLIC_MISC_USE_ANON_KEY!))}diff --git a/apps/www/pages/launch-week/tickets/index.tsx b/apps/www/pages/launch-week/tickets/index.tsxindex 1dbec06cf36..cbb2b714396 100644--- a/apps/www/pages/launch-week/tickets/index.tsx+++ b/apps/www/pages/launch-week/tickets/index.tsx@@ -22,8 +22,8 @@ interface Props {}const supabaseAdmin = createClient(- process.env.NEXT_PUBLIC_SUPABASE_URL ?? 'http://localhost:54321',- process.env.NEXT_PUBLIC_SUPABASE_ANON_KEY!+ process.env.NEXT_PUBLIC_MISC_USE_URL ?? 'http://localhost:54321',+ process.env.NEXT_PUBLIC_MISC_USE_ANON_KEY!)const generateOgs = async (users: UserData[]) => {