Skip to content

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

Adding netlify deploy config

Paul Copplestonecb24db899d07
diff --git a/package.json b/package.json
index 5d68ce1ec71..416f35ca544 100644
--- a/package.json
+++ b/package.json
@@ -11,7 +11,7 @@
},
"scripts": {
"build": "yarn run build:docs && yarn run build:web",
- "build:docs": "yarn workspace @supabase/docs build",
+ "d": "yarn workspace @supabase/docs build",
"build:web": "yarn workspace @supabase/web build",
"dev": "concurrently --kill-others-on-fail \"yarn dev:web\" \"yarn dev:docs\" ",
"dev:docs": "yarn workspace @supabase/docs dev",
diff --git a/packages/docs/netlify.toml b/packages/docs/netlify.toml
new file mode 100644
index 00000000000..8aac4821ecc
--- /dev/null
+++ b/packages/docs/netlify.toml
@@ -0,0 +1,5 @@
+# COMMENT: This a rule for Single Page Applications as Docz site is one
+[[redirects]]
+ from = "/*"
+ to = "/"
+ status = 200
\ No newline at end of file