-
Notifications
You must be signed in to change notification settings - Fork 43
/
Copy pathvercel.json
100 lines (100 loc) · 3.07 KB
/
vercel.json
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
{
"devCommand": "yarn dev",
"crons": [
{
"path": "/api/cron-cache-balances",
"schedule": "* * * * *"
},
{
"path": "/api/cron-cache-gas-prices",
"schedule": "* * * * *"
},
{
"path": "/api/cron-cache-gas-costs",
"schedule": "* * * * *"
},
{
"path": "/api/cron-cache-l1-data-fee",
"schedule": "* * * * *"
},
{
"path": "/api/cron-ping-endpoints",
"schedule": "* * * * *"
}
],
"functions": {
"api/cron-cache-gas-prices.ts": {
"maxDuration": 90
},
"api/cron-cache-gas-costs.ts": {
"maxDuration": 90
},
"api/cron-cache-l1-data-fee.ts": {
"maxDuration": 90
},
"api/cron-ping-endpoints.ts": {
"maxDuration": 90
}
},
"rewrites": [
{
"source": "/api/deposit/status",
"destination": "https://indexer.across.to/deposit/status"
}
],
"redirects": [
{
"source": "/about",
"destination": "https://across.to",
"permanent": true
}
],
"headers": [
{
"source": "/(.*)",
"headers": [
{
"key": "X-Content-Type-Options",
"value": "nosniff"
},
{
"key": "X-Frame-Options",
"value": "DENY"
},
{
"key": "X-XSS-Protection",
"value": "1; mode=block"
},
{
"key": "Referrer-Policy",
"value": "strict-origin"
},
{
"key": "Permissions-Policy",
"value": "geolocation=(self), microphone=(), camera=()"
},
{
"key": "Content-Security-Policy-Report-Only",
"value": "default-src 'self' *.across.to across.to wss://api.blocknative.com; font-src 'self' fonts.gstatic.com assets.vercel.com data:; img-src 'self' *.walletconnect.com assets.vercel.com data:; connect-src wss://*.walletconnect.com *.walletconnect.com wss://api.blocknative.com mainnet.infura.io *.across.to across.to *.wallet.coinbase.com *.alchemy.com *.infura.io api2.amplitude.com *.sentry.io; script-src 'self' 'unsafe-inline' 'unsafe-eval' platform.twitter.com vercel.live; style-src 'self' 'unsafe-inline'; frame-src 'self' vercel.live platform.twitter.com *.walletconnect.com; frame-ancestors 'self'; report-uri https://umaproject.uriports.com/reports/report; report-to default"
},
{
"key": "Report-To",
"value": "{\"group\":\"default\",\"max_age\":10886400,\"endpoints\":[{\"url\":\"https://umaproject.uriports.com/reports\"}],\"include_subdomains\":false}"
},
{
"key": "NEL",
"value": "{\"report_to\":\"default\",\"max_age\":2592000,\"include_subdomains\":true,\"failure_fraction\":0.5}"
},
{ "key": "Access-Control-Allow-Origin", "value": "*" },
{
"key": "Access-Control-Allow-Methods",
"value": "GET,OPTIONS"
},
{
"key": "Access-Control-Allow-Headers",
"value": "X-CSRF-Token, X-Requested-With, Accept, Accept-Version, Content-Length, Content-MD5, Content-Type, Date, X-Api-Version"
}
]
}
]
}