forked from adoptium/adoptium.net
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnetlify.toml
More file actions
40 lines (34 loc) · 892 Bytes
/
Copy pathnetlify.toml
File metadata and controls
40 lines (34 loc) · 892 Bytes
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
[build]
publish = ".next"
command = "npm run build"
# Cross-domain redirects (cannot be ported to next.config.ts)
[[redirects]]
from = "https://blog.adoptium.net/:locale/*"
to = "https://adoptium.net/:locale/news/:splat"
status = 301
force = true
[[redirects]]
from = "https://blog.adoptium.net/*"
to = "https://adoptium.net/news/:splat"
status = 301
force = true
[[redirects]]
from = "https://dash.adoptium.net"
to = "https://adoptium.net/stats"
status = 301
force = true
[[redirects]]
from = "https://dash.adoptium.net/download"
to = "https://adoptium.net/stats/download"
status = 301
force = true
[[redirects]]
from = "https://dash.adoptium.net/trends"
to = "https://adoptium.net/stats/trends"
status = 301
force = true
[[redirects]]
from = "https://dash.adoptium.net/*"
to = "https://adoptium.net/stats"
status = 301
force = true