-
Notifications
You must be signed in to change notification settings - Fork 0
/
netlify.toml
42 lines (36 loc) · 1.11 KB
/
netlify.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
[build]
command = "yarn rw deploy netlify"
publish = "web/dist"
functions = "api/dist/functions"
[dev]
# To use [Netlify Dev](https://www.netlify.com/products/dev/),
# install netlify-cli from https://docs.netlify.com/cli/get-started/#installation
# and then use netlify link https://docs.netlify.com/cli/get-started/#link-and-unlink-sites
# to connect your local project to a site already on Netlify
# then run netlify dev and our app will be accessible on the port specified below
framework = "redwoodjs"
# Set targetPort to the [web] side port as defined in redwood.toml
targetPort = 8910
# Point your browser to this port to access your RedwoodJS app
port = 8888
[[redirects]]
from = "/*"
to = "/200.html"
status = 200
[[headers]]
for = "/*.js"
[headers.values]
Cache-Control = "max-age=31536000, immutable"
[[headers]]
for = "/*.css"
[headers.values]
Cache-Control = "max-age=31536000, immutable"
[functions."sendReminders"]
schedule = '*/15 * * * *'
[functions."tidyUnconfirmed"]
schedule = '0 9 * * *'
[[plugins]]
package = "@sentry/netlify-build-plugin"
[plugins.inputs]
sentryOrg = "kesdev"
sentryProject = "freevite"