-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnetlify.toml
More file actions
102 lines (85 loc) · 1.9 KB
/
netlify.toml
File metadata and controls
102 lines (85 loc) · 1.9 KB
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
# Redirects for non-locale paths to default English locale
[[redirects]]
from = "/docs"
to = "/en/docs/"
status = 301
[[redirects]]
from = "/docs/*"
to = "/en/docs/:splat"
status = 301
[[redirects]]
from = "/about"
to = "/en/about/"
status = 301
[[redirects]]
from = "/faq"
to = "/en/faq/"
status = 301
[[redirects]]
from = "/blog"
to = "/en/blog/"
status = 301
[[redirects]]
from = "/blog/*"
to = "/en/blog/:splat"
status = 301
[[redirects]]
from = "/careers"
to = "/en/careers/"
status = 301
[[redirects]]
from = "/careers/*"
to = "/en/careers/:splat"
status = 301
[[redirects]]
from = "/legal"
to = "/en/legal/"
status = 301
[[redirects]]
from = "/legal/*"
to = "/en/legal/:splat"
status = 301
[[redirects]]
from = "/terms"
to = "/en/legal/terms/"
status = 301
[[redirects]]
from = "/privacy"
to = "/en/legal/privacy/"
status = 301
# Root path to English homepage
[[redirects]]
from = "/"
to = "/en/"
status = 301
[[headers]]
for = "/*"
[headers.values]
Cache-Control = "no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"
Pragma = "no-cache"
Expires = "0"
[[headers]]
for = "/*.html"
[headers.values]
Cache-Control = "no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"
Pragma = "no-cache"
Expires = "0"
[[headers]]
for = "/*.css"
[headers.values]
Cache-Control = "no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"
[[headers]]
for = "/*.js"
[headers.values]
Cache-Control = "no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"
# Proxy TypeDoc API docs from GitHub Pages
[[redirects]]
from = "/docs-generated/library/*"
to = "https://framersai.github.io/agentos/api/:splat"
status = 200
force = true
[[redirects]]
from = "/docs-generated/api/*"
to = "https://framersai.github.io/agentos/api/:splat"
status = 200
force = true