Skip to content

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

force redirect

Inian Parameshwaran175085c51533
diff --git a/web/src/pages/index.js b/web/src/pages/index.js
index 223c9174aff..c13f1a4514d 100755
--- a/web/src/pages/index.js
+++ b/web/src/pages/index.js
@@ -602,14 +602,14 @@ function Home() {
)
}
-export default Home
-// export default () => {
-// if (typeof window !== 'undefined') {
-// if (window.location.href.indexOf('localhost') === -1) {
-// window.location.replace('https://supabase.io')
-// } else {
-// window.location.replace('/docs')
-// }
-// }
-// return null
-// }
+// export default Home
+export default () => {
+ if (typeof window !== 'undefined') {
+ if (window.location.href.indexOf('localhost') === -1) {
+ window.location.replace('https://supabase.io')
+ } else {
+ window.location.replace('/docs')
+ }
+ }
+ return null
+}