-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Expand file tree
/
Copy pathnetlify.toml
More file actions
38 lines (30 loc) · 843 Bytes
/
netlify.toml
File metadata and controls
38 lines (30 loc) · 843 Bytes
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
[build]
publish = "public"
command = "npm run netlify-build:preview"
[context.production]
command = "npm run netlify-build:production"
[[redirects]]
from = "https://docs.opentelemetry.io/*"
to = "https://opentelemetry.io/docs/:splat"
force = true
[[redirects]]
from = "https://blog.opentelemetry.io/*"
to = "https://opentelemetry.io/blog/:splat"
force = true
[[edge_functions]]
function = "markdown-negotiation"
path = "/*"
[[edge_functions]]
function = "schema-analytics"
path = "/schemas/*"
[[edge_functions]]
function = "asset-tracking"
pattern = "/(.*)\\.(md|txt)$"
# cSpell:ignore nosniff sameorigin
[[headers]]
for = "/*"
[headers.values]
X-Content-Type-Options = "nosniff"
Referrer-Policy = "strict-origin-when-cross-origin"
X-Frame-Options = "SAMEORIGIN"
Content-Security-Policy = "frame-ancestors 'self';"