Skip to content

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

redirect force

Inian Parameshwaranc844747405d1
diff --git a/web/src/pages/index.js b/web/src/pages/index.js
index a80b24be3f7..e826c5f5ac7 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
+}