The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
add env vars, revert to anon key for ticket site when admin not avail
Jonathan Summers-Muir6a73e11ee134
diff --git a/apps/www/.env b/apps/www/.envindex af6041f3a2c..92ef5301973 100644--- a/apps/www/.env+++ b/apps/www/.env@@ -10,3 +10,6 @@ NEXT_PUBLIC_STUDIO_URL="https://localhost:8082"NEXT_PUBLIC_LAUNCHWEEKSITE_URL="https://localhost:3008"NEXT_PUBLIC_REFERENCE_DOCS_URL="https://localhost:3010"+NEXT_PUBLIC_SITE_ORIGIN=http://localhost:3000+NEXT_PUBLIC_SUPABASE_URL=https://obuldanrptloktxcffvn.supabase.co+NEXT_PUBLIC_SUPABASE_ANON_KEY=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6Im9idWxkYW5ycHRsb2t0eGNmZnZuIiwicm9sZSI6ImFub24iLCJpYXQiOjE2Njk3MjcwMTIsImV4cCI6MTk4NTMwMzAxMn0.SZLqryz_-stF8dgzeVXmzZWPOqdOrBwqJROlFES8v3I\ No newline at end of filediff --git a/apps/www/pages/launch-week/tickets/[username].tsx b/apps/www/pages/launch-week/tickets/[username].tsxindex 7cc8c32dbee..7bd706c81bd 100644--- a/apps/www/pages/launch-week/tickets/[username].tsx+++ b/apps/www/pages/launch-week/tickets/[username].tsx@@ -18,8 +18,9 @@ type Props = {}const supabaseAdmin = createClient(- process.env.NEXT_PUBLIC_SUPABASE_URL!,- process.env.SUPABASE_SERVICE_ROLE_SECRET!+ process.env.NEXT_PUBLIC_SUPABASE_URL ?? 'http://localhost:54321',+ process.env.SUPABASE_SERVICE_ROLE_SECRET ??+ 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6Im9idWxkYW5ycHRsb2t0eGNmZnZuIiwicm9sZSI6ImFub24iLCJpYXQiOjE2Njk3MjcwMTIsImV4cCI6MTk4NTMwMzAxMn0.SZLqryz_-stF8dgzeVXmzZWPOqdOrBwqJROlFES8v3I')export default function TicketShare({ username, ticketNumber, name, golden }: Props) {