-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnetlify.toml
51 lines (39 loc) · 1012 Bytes
/
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
# BUILD SETTINGS
[build]
publish = "_site/"
command = "npm run build"
# REDIRECTS
# Netlify default subdomain
[[redirects]]
from = "https://germanfrelo-website.netlify.app/*"
to = "https://germanfrelo.dev/:splat"
status = 301
force = true
# Custom domains
# Primary domain is germanfrelo.dev; there is no need to redirect www.germanfrelo.dev because Netlify already redirects automatically between the apex domain and www subdomain
[[redirects]]
from = "https://www.germanfreixinos.com/*"
to = "https://germanfrelo.dev/:splat"
status = 301
force = true
[[redirects]]
from = "https://germanfreixinos.com/*"
to = "https://germanfrelo.dev/:splat"
status = 301
force = true
[[redirects]]
from = "https://www.germanfreixinos.es/*"
to = "https://germanfrelo.dev/:splat"
status = 301
force = true
[[redirects]]
from = "https://germanfreixinos.es/*"
to = "https://germanfrelo.dev/:splat"
status = 301
force = true
# Paths
[[redirects]]
from = "/portfolio/*"
to = "/projects/:splat"
status = 301
force = true