-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnetlify.toml
More file actions
54 lines (44 loc) · 1.25 KB
/
netlify.toml
File metadata and controls
54 lines (44 loc) · 1.25 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
[build]
publish = "dist"
command = "npm run build"
[build.environment]
NODE_VERSION = "18"
# Public client-side identifiers used at build/runtime.
# Tell Netlify's secret scanner to ignore this env var so builds don't fail.
SECRETS_SCAN_OMIT_KEYS = "VITE_WALLET_CONNECT_PROJECT_ID,VITE_X_OAUTH_CLIENT_ID,VITE_PROFILE_REGISTRY_CONTRACT_ADDRESS"
SECRETS_SCAN_SMART_DETECTION_OMIT_VALUES = "sk_2CuofqWZHrABCrM7GY95YSQn8PyFvKQadnvFnpwhjUnDCFAWmf"
[[redirects]]
from = "/*"
to = "/index.html"
status = 200
[dev]
command = "npm run dev"
port = 5173
publish = "dist"
[[edge_functions]]
function = "seo"
path = "/"
[[edge_functions]]
function = "seo"
path = "/post/*"
[[edge_functions]]
function = "seo"
path = "/users/*"
[[edge_functions]]
function = "seo"
path = "/trends/tokens/*"
[[headers]]
for = "/*"
[headers.values]
Referrer-Policy = "strict-origin-when-cross-origin"
X-Content-Type-Options = "nosniff"
Strict-Transport-Security = "max-age=31536000; includeSubDomains; preload"
Permissions-Policy = "interest-cohort=()"
[[headers]]
for = "/assets/*"
[headers.values]
Cache-Control = "public, max-age=31536000, immutable"
[[headers]]
for = "/og-default.png"
[headers.values]
Cache-Control = "public, max-age=86400"