The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
rm monitoring tunnel (#32763)
Jordi Enric692244cc102b
diff --git a/apps/studio/next.config.js b/apps/studio/next.config.jsindex 604c300a633..62e55d13e9b 100644--- a/apps/studio/next.config.js+++ b/apps/studio/next.config.js@@ -49,6 +49,8 @@ const GITHUB_USER_CONTENT_URL = 'https://raw.githubusercontent.com'const GITHUB_USER_AVATAR_URL = 'https://avatars.githubusercontent.com'const GOOGLE_USER_AVATAR_URL = 'https://lh3.googleusercontent.com'const VERCEL_LIVE_URL = 'https://vercel.live'+const SENTRY_URL = 'https://*.ingest.sentry.io'+// used by vercel live previewconst PUSHER_URL = 'https://*.pusher.com'const PUSHER_URL_WS = 'wss://*.pusher.com'@@ -65,7 +67,7 @@ const csp = [process.env.NEXT_PUBLIC_ENVIRONMENT === 'local' ||process.env.NEXT_PUBLIC_ENVIRONMENT === 'staging'? [- `default-src 'self' ${DEFAULT_SRC_URLS} ${SUPABASE_STAGING_PROJECTS_URL} ${SUPABASE_STAGING_PROJECTS_URL_WS} ${VERCEL_LIVE_URL} ${PUSHER_URL_WS} ${SUPABASE_DOCS_PROJECT_URL};`,+ `default-src 'self' ${DEFAULT_SRC_URLS} ${SUPABASE_STAGING_PROJECTS_URL} ${SUPABASE_STAGING_PROJECTS_URL_WS} ${VERCEL_LIVE_URL} ${PUSHER_URL_WS} ${SUPABASE_DOCS_PROJECT_URL} ${SENTRY_URL};`,`script-src 'self' 'unsafe-eval' 'unsafe-inline' ${SCRIPT_SRC_URLS} ${VERCEL_LIVE_URL} ${PUSHER_URL};`,`frame-src 'self' ${FRAME_SRC_URLS} ${VERCEL_LIVE_URL};`,`img-src 'self' blob: data: ${IMG_SRC_URLS} ${SUPABASE_STAGING_PROJECTS_URL} ${VERCEL_URL};`,@@ -74,7 +76,7 @@ const csp = [`worker-src 'self' blob: data:;`,]: [- `default-src 'self' ${DEFAULT_SRC_URLS} ${PUSHER_URL_WS};`,+ `default-src 'self' ${DEFAULT_SRC_URLS} ${PUSHER_URL_WS} ${SENTRY_URL};`,`script-src 'self' 'unsafe-eval' 'unsafe-inline' ${SCRIPT_SRC_URLS} ${VERCEL_LIVE_URL} ${PUSHER_URL};`,`frame-src 'self' ${FRAME_SRC_URLS} ${VERCEL_LIVE_URL};`,`img-src 'self' blob: data: ${IMG_SRC_URLS} ;`,@@ -585,12 +587,6 @@ module.exports =enabled: true,},- // Route browser requests to Sentry through a Next.js rewrite to circumvent ad-blockers.- // This can increase your server load as well as your hosting bill.- // Note: Check that the configured route will not match with your Next.js middleware, otherwise reporting of client-- // side errors will fail.- tunnelRoute: '/monitoring',-// Hides source maps from generated client bundleshideSourceMaps: true,