-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathnetlify.toml
More file actions
54 lines (44 loc) · 1.08 KB
/
netlify.toml
File metadata and controls
54 lines (44 loc) · 1.08 KB
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]
command = "npm run build"
publish = ".next"
[build.environment]
NODE_VERSION = "22"
BASELINE_BROWSER_MAPPING_IGNORE_OLD_DATA = "true"
BROWSERSLIST_IGNORE_OLD_DATA = "true"
NODE_OPTIONS = "--max_old_space_size=4096"
[[plugins]]
package = "@netlify/plugin-nextjs"
[[plugins]]
package = "@netlify/plugin-lighthouse"
[[plugins.inputs.audits]]
path = "/"
## QC article proxy (Edge)
[[edge_functions]]
path = "/article"
function = "proxy-article"
[[edge_functions]]
path = "/article/*"
function = "proxy-article"
[[edge_functions]]
path = "/blog"
function = "proxy-article"
[[edge_functions]]
path = "/blog/*"
function = "proxy-article"
[[edge_functions]]
path = "/assets/*"
function = "proxy-article"
[[edge_functions]]
path = "/category/*"
function = "proxy-article"
## Redirect doc.theten.ai root to the main docs
[[redirects]]
from = "http://doc.theten.ai/"
to = "https://theten.ai/docs"
status = 308
force = true
[[redirects]]
from = "https://doc.theten.ai/"
to = "https://theten.ai/docs"
status = 308
force = true