generated from x-govuk/govuk-eleventy-plugin
-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathnetlify.toml
64 lines (54 loc) · 1.85 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
[[headers]]
for = "/*"
[headers.values]
Content-Security-Policy = "default-src 'self'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; frame-src 'self' app.netlify.com; img-src 'self' data:; object-src 'none'; script-src 'self' 'sha256-GUQ5ad8JK5KmEWmROf3LZd9ge94daqNvd8xy9YS1iDw=';"
Permissions-Policy = "interest-cohort=()"
Referrer-Policy = "same-origin"
X-Content-Type-Options = "nosniff"
X-Frame-Options = "DENY"
X-XSS-Protection = "1; mode=block"
# cache-control = '''
# max-age=0,
# no-cache,
# no-store,
# must-revalidate'''
[[redirects]]
from = "/glossary"
to = "https://design.education.gov.uk/content-design/style-guide/"
status = 301
force = true
[[redirects]]
from = "https://bat-design-history.netlify.app/*"
to = "https://becoming-a-teacher.design-history.education.gov.uk/:splat"
status = 301
force = true
[[redirects]]
from = "/school-placements/*"
to = "/manage-school-placements/:splat"
status = 301
force = true
[[redirects]]
from = "/register-trainee-teachers/routes-into-teaching/"
to = "/becoming-a-teacher/routes-into-teaching/"
status = 301
force = true
[[redirects]]
from = "/register-trainee-teachers/the-relationship-between-recruitment-cycles-and-academic-years/"
to = "/becoming-a-teacher/the-relationship-between-recruitment-cycles-and-academic-years/"
status = 301
force = true
[[redirects]]
from = "/register-trainee-teachers/understanding-the-relationships-between-organisations-delivering-initial-teacher-training/"
to = "/becoming-a-teacher/understanding-the-relationships-between-organisations-delivering-initial-teacher-training/"
status = 301
force = true
[[redirects]]
from = "/register-trainee-teachers/how-data-flows-through-the-service-line/"
to = "/becoming-a-teacher/how-data-flows-through-the-service-line/"
status = 301
force = true
[build]
command = "npm run build"
publish = "public"
[build.processing.html]
pretty_urls = true