deploy changes for netlify

This commit is contained in:
Kurt Hutten
2020-10-12 19:26:12 +11:00
parent c16e1c7d89
commit e8f694587c
2 changed files with 13 additions and 1 deletions

12
netlify.toml Normal file
View File

@@ -0,0 +1,12 @@
[build]
command = "yarn rw build && yarn rw db up --no-db-client --auto-approve && yarn rw dataMigrate up"
publish = "web/dist"
functions = "api/dist/functions"
[dev]
command = "yarn rw dev"
[[redirects]]
from = "/*"
to = "/index.html"
status = 200

View File

@@ -7,7 +7,7 @@
[web]
port = 8910
apiProxyPath = "/.redwood/functions"
apiProxyPath = "/.netlify/functions"
[api]
port = 8911
[browser]