Skip to content

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

add ts rewrite back (#34306)

Jordi Enric3a45d62309b9
diff --git a/apps/studio/next.config.js b/apps/studio/next.config.js
index 2980f24a8f2..55fc4c9417e 100644
--- a/apps/studio/next.config.js
+++ b/apps/studio/next.config.js
@@ -524,6 +524,10 @@ const nextConfig = {
source: '/favicon/:slug*',
headers: [{ key: 'cache-control', value: 'public, max-age=86400' }],
},
+ {
+ source: '/(.*).ts',
+ headers: [{ key: 'content-type', value: 'text/typescript' }],
+ },
]
},
images: {