generated from 11ty/eleventy-base-blog
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathnetlify.toml
54 lines (43 loc) · 1.34 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
[build]
publish = "_site"
command = "npm run build"
functions = "netlify/functions"
[functions]
directory = "netlify/functions"
# Redirect root of aaact.canada.ca to /en/
[[redirects]]
from = "https://aaact.canada.ca/"
to = "/en/"
status = 301
force = true
# Redirect root of aatia.canada.ca to /fr/
[[redirects]]
from = "https://aatia.canada.ca/"
to = "/fr/"
status = 301
force = true
# Redirect aatia domain English links to aaact domain
[[redirects]]
from = "https://aatia.canada.ca/en/*"
to = "https://aaact.canada.ca/en/:splat"
status = 301
force = true
# Redirect aaact domain French links to aatia domain
[[redirects]]
from = "https://aaact.canada.ca/fr/*"
to = "https://aatia.canada.ca/fr/:splat"
status = 301
force = true
# Opt-in to the Netlify Lighthouse plugin (choose one):
# 1. Go to your site on https://app.netlify.com and navigate to the Integrations tab, search for the `Lighthouse` plugin
# 2. Or via `npm install -D @netlify/plugin-lighthouse`
# Read more: https://github.com/netlify/netlify-plugin-lighthouse
# package = "@netlify/plugin-lighthouse"
# # optional, fails build when a category is below a threshold
# [plugins.inputs.thresholds]
# performance = 1.0
# accessibility = 1.0
# best-practices = 1.0
# seo = 1.0
# [plugins.inputs]
# output_path = "reports/lighthouse/index.html"