-
-
Notifications
You must be signed in to change notification settings - Fork 13
/
netlify.toml
56 lines (43 loc) · 1.18 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
[build]
publish = "dist"
command = "npm run build"
functions = "functions/"
[dev]
targetPort = 8080
autoLaunch = false
command = "vite --host localhost --port 8080"
[[redirects]]
from = "/api/*"
to = "/.netlify/functions/:splat"
status = 200
[[redirects]]
from = "/*"
to = "/"
status = 200
[[headers]]
for = "/worker.js"
[headers.values]
cache-control = "max-age=0,no-cache,no-store,must-revalidate"
[[headers]]
for = "/*"
[headers.values]
Access-Control-Allow-Origin = "*"
Access-Control-Allow-Credentials = "true"
[functions."autopost-background"]
schedule = "*/15 * * * *"
included_files=["functions/emails/*.liquid"]
[functions."achievements-background"]
schedule = "0 1 * * *"
included_files=["functions/emails/*.liquid"]
[functions."autopost-notify"]
included_files=["functions/emails/*.liquid"]
[functions."cron"]
included_files=["functions/emails/*.liquid"]
[functions."submission-created"]
included_files=["functions/emails/*.liquid"]
[functions."approve"]
included_files=["functions/emails/*.liquid"]
[functions."profile"]
included_files=["functions/emails/*.liquid"]
[[plugins]]
package = 'netlify-plugin-contextual-env'