forked from euctrl-pru/portal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnetlify.toml
80 lines (58 loc) · 1.76 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
[build]
publish = "public"
command = "hugo -d public --gc --minify -b $DEPLOY_URL"
[context.production.environment]
HUGO_VERSION = "0.54.0" # if older, use format: 0.53 (no trailing zero)
HUGO_ENV = "production"
HUGO_ENABLEGITINFO = "true"
[context.deploy-preview]
command = "hugo --gc --minify --buildFuture -b $DEPLOY_PRIME_URL"
[context.deploy-preview.environment]
HUGO_VERSION = "0.54.0"
[context.branch-deploy]
command = "hugo --gc --minify -b $DEPLOY_PRIME_URL"
[context.branch-deploy.environment]
HUGO_VERSION = "0.54.0" # if older, use format: 0.53 (no trailing zero)
# A basic redirect rule
[[redirects]]
from = "/references/*"
to = "/:splat"
[[redirects]]
from = "/graphs/*"
to = "/dashboard/performance-area/:splat"
[[redirects]]
from = "/nvctr/*"
to = "https://nvctr.ansperformance.eu/:splat"
status = 301
[[redirects]]
from = "/definition/eurocontrol_area.html"
to = "/definition/eurocontrol-area/"
status = 301
[[redirects]]
from = "/definition/atfm_delay_codes.html"
to = "/definition/atfm-delay-codes/"
status = 301
[[redirects]]
from = "/definition/atfm_delay.html"
to = "/definition/atfm-delay/"
status = 301
[[redirects]]
from = "/definition/additional_asma_time.html"
to = "/definition/additional-asma-time/"
status = 301
[[redirects]]
from = "/definition/atfm_slot_adherence.html"
to = "/definition/atfm-slot-adherence/"
status = 301
[[redirects]]
from = "/definition/additional_taxi-out_time.html"
to = "/definition/additional-taxi-out-time/"
status = 301
[[redirects]]
from = "/definition/atc_pre-departure_delay.html"
to = "/definition/atc-pre-departure-delay/"
status = 301
[[redirects]]
from = "/definition/composite_flight_hour.html"
to = "/definition/composite-flight-hour/"
status = 301