-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathnext.config.mjs
More file actions
33 lines (31 loc) · 939 Bytes
/
next.config.mjs
File metadata and controls
33 lines (31 loc) · 939 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
import nextra from 'nextra'
const withNextra = nextra({
theme: 'nextra-theme-docs',
themeConfig: './theme.config.tsx',
})
export default withNextra({
async redirects() {
return [
{
source: '/introduction',
destination: '/',
permanent: true,
},
{
source: '/concept-guides/container-hardening/process',
destination: '/tutorials/container-hardening/process',
permanent: true,
},
{
source: '/concept-guides/container-hardening/cve-decision',
destination: '/tutorials/container-hardening/cve-decision',
permanent: true,
},
{
source: '/imprint',
destination: 'https://l3montree.com/impressum',
permanent: false,
},
]
},
})