forked from bankless-academy/bankless-academy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvercel.json
121 lines (121 loc) · 2.85 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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
{
"headers": [
{
"source": "/images/(.*)/(.*)",
"headers": [
{
"key": "Cache-Control",
"value": "public, max-age=31536000, immutable"
}
]
},
{
"source": "/module/(.*)",
"headers": [
{
"key": "Cache-Control",
"value": "public, max-age=31536000, immutable"
}
]
},
{
"source": "/humanDAO/(.*)",
"headers": [
{
"key": "Cache-Control",
"value": "public, max-age=31536000, immutable"
}
]
},
{
"source": "/BanklessDAO/(.*)",
"headers": [
{
"key": "Cache-Control",
"value": "public, max-age=31536000, immutable"
}
]
},
{
"source": "/api/cache/(.*)",
"headers": [
{ "key": "Access-Control-Allow-Credentials", "value": "true" },
{ "key": "Access-Control-Allow-Origin", "value": "*" },
{
"key": "Access-Control-Allow-Methods",
"value": "GET,DELETE,PATCH,POST,PUT"
},
{
"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"
}
]
}
],
"rewrites": [
{
"source": "/rss.xml",
"destination": "/api/rss"
},
{
"source": "/faq",
"destination": "/notion/faq"
},
{
"source": "/disclaimer",
"destination": "/notion/disclaimer"
},
{
"source": "/mp/lib.min.js",
"destination": "https://cdn.mxpnl.com/libs/mixpanel-2-latest.min.js"
},
{
"source": "/mp/lib.js",
"destination": "https://cdn.mxpnl.com/libs/mixpanel-2-latest.js"
},
{
"source": "/mp/decide",
"destination": "https://decide.mixpanel.com/decide"
},
{
"source": "/mp/:slug",
"destination": "https://api-eu.mixpanel.com/:slug"
},
{
"source": "/lesson/images/:slug",
"destination": "/images/:slug"
}
],
"redirects": [
{
"source": "/lessons/conceptos-(.*)",
"destination": "/lessons/es/blockchain-basics",
"permanent": false
},
{
"source": "/lessons(.*)/how-to-fund-a-wallet-on-layer-2",
"destination": "/lessons/funding-a-wallet-on-layer-2",
"permanent": false
},
{
"source": "/lessons(.*)/the-stablecoin-guide",
"destination": "/lessons/understanding-stablecoins",
"permanent": false
},
{
"source": "/lessons(.*)/how-to-swap-on-a-decentralized-exchange",
"destination": "/lessons/swapping-on-a-decentralized-exchange",
"permanent": false
}
],
"crons": [
{
"path": "/api/cron/bankless-dao-news",
"schedule": "0 * * * *"
},
{
"path": "/api/cron/leaderboard",
"schedule": "0 * * * *"
}
]
}