deploy changes for netlify
This commit is contained in:
12
netlify.toml
Normal file
12
netlify.toml
Normal 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
|
||||||
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
[web]
|
[web]
|
||||||
port = 8910
|
port = 8910
|
||||||
apiProxyPath = "/.redwood/functions"
|
apiProxyPath = "/.netlify/functions"
|
||||||
[api]
|
[api]
|
||||||
port = 8911
|
port = 8911
|
||||||
[browser]
|
[browser]
|
||||||
|
|||||||
Reference in New Issue
Block a user