forked from ethereum/esp-website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnetlify.toml
122 lines (108 loc) · 2.88 KB
/
netlify.toml
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
122
# Settings in the [build] context are global and are applied to all contexts
# unless otherwise overridden by more specific contexts.
[build]
# Directory to change to before starting a build.
# This is where we will look for package.json/.nvmrc/etc.
# base = "project/"
# Directory (relative to root of your repo) that contains the deploy-ready
# HTML files and assets generated by the build. If a base directory has
# been specified, include it in the publish directory path.
publish = "public"
# Directory with the serverless Lambda functions to deploy to AWS.
functions = "public/lambda"
# Default build command.
command = "yarn build"
# Directory with the serverless Lambda functions to deploy to AWS.
# functions = "project/functions/"
# DEPLOY CONTEXTS
# Production context: all deploys from the Production branch set in your site's
# deploy contexts will inherit these settings.
# [context.production]
# publish = "project/output/"
# command = "make publish"
# environment = { ACCESS_TOKEN = "super secret", NODE_VERSION = "8.0.1" }
# Deploy Preview context: all deploys generated from a pull/merge request will
# inherit these settings.
# [context.deploy-preview]
# publish = "project/dist/"
# REDIRECTS
# vanity URLs
[[redirects]]
from = "/honduras"
to = "/es/local-grants/honduras"
[[redirects]]
from = "/colombia"
to = "/es/local-grants/colombia"
# legacy site redirects
[[redirects]]
from = "/index.html"
to = "/"
force = true
[[redirects]]
from = "/application.html"
to = "/en/inquire/"
# i18n redirects
# Force because the files exist (root paths still resolve to English)
[[redirects]]
from = "/"
to = "/en/"
force = true
[[redirects]]
from = "/about/"
to = "/en/about/"
force = true
[[redirects]]
from = "/projects/"
to = "/en/projects/"
force = true
[[redirects]]
from = "/faq/"
to = "/en/faq/"
force = true
[[redirects]]
from = "/wishlist/"
to = "/en/wishlist/"
force = true
[[redirects]]
from = "/projects/nethermind/"
to = "/en/projects/nethermind/"
force = true
[[redirects]]
from = "/project/"
to = "/en/inquire/"
force = true
[[redirects]]
from = "/projects/ethereum-on-arm/"
to = "/en/projects/ethereum-on-arm/"
force = true
[[redirects]]
from = "/projects/turbo-geth/"
to = "/en/projects/turbo-geth/"
force = true
[[redirects]]
from = "/explore/"
to = "/en/inquire/"
force = true
[[redirects]]
from = "/projects/ethers-js/"
to = "/en/projects/ethers-js/"
force = true
[[redirects]]
from = "/projects/circom/"
to = "/en/projects/circom/"
force = true
[[redirects]]
from = "/projects/uniswap/"
to = "/en/projects/uniswap/"
force = true
[[redirects]]
from = "/projects/circom/link"
to = "/en/projects/circom/link"
force = true
# form merge redirects
[[redirects]]
from = "/en/project/"
to = "/en/inquire/"
[[redirects]]
from = "/en/explore/"
to = "/en/inquire/"