Adding netlify deploy config

This commit is contained in:
Paul Copplestone
2019-10-12 15:05:05 +08:00
parent bec67900fa
commit cb24db899d
2 changed files with 6 additions and 1 deletions

View File

@@ -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",

View File

@@ -0,0 +1,5 @@
# COMMENT: This a rule for Single Page Applications as Docz site is one
[[redirects]]
from = "/*"
to = "/"
status = 200