-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnext.config.js
More file actions
135 lines (134 loc) · 4.11 KB
/
next.config.js
File metadata and controls
135 lines (134 loc) · 4.11 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
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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
const withNextra = require('nextra')({
theme: 'nextra-theme-docs',
themeConfig: './theme.config.tsx',
});
module.exports = withNextra({
async redirects() {
return [
{
source: '/authentication',
destination: '/passwordless-authentication',
permanent: true,
},
{
source: '/authentication/mobile-app-authentication',
destination: '/passwordless-authentication/mobile-app-authentication',
permanent: true,
},
{
source: '/authentication/qr-authentication',
destination: '/passwordless-authentication/qr-authentication',
permanent: true,
},
{
source:
'/authentication/qr-authentication/keyri-qr-auth-features/smart-deep-linking',
destination:
'/passwordless-authentication/qr-authentication/deep-linking',
permanent: true,
},
{
source: '/authentication/qr-authentication/keyri-qr-widget',
destination:
'/passwordless-authentication/qr-authentication/qr-web-widget',
permanent: true,
},
{
source: '/authentication/qr-authentication/client-session-extension',
destination:
'/passwordless-authentication/qr-authentication/session-extension',
permanent: true,
},
{
source: '/authentication/qr-authentication/server-side-authentication',
destination: '/passwordless-authentication/server-setup',
permanent: true,
},
{
source: '/authentication/passkeys',
destination: '/passwordless-authentication/passkeys',
permanent: true,
},
{
source: '/authentication/passkeys/desktop-browser',
destination: '/passwordless-authentication/passkeys/web',
permanent: true,
},
{
source: '/authentication/passkeys/mobile-browser',
destination: '/passwordless-authentication/passkeys/mobile-browser',
permanent: true,
},
{
source: '/authentication/passkeys/server',
destination: '/passwordless-authentication/passkeys/server-setup',
permanent: true,
},
{
source: '/fraud-prevention/fraud-dashboard',
destination: '/fraud-prevention/getting-started',
permanent: true,
},
{
source: '/fraud-prevention/web-fingerprinting',
destination: '/fraud-prevention/web-app-setup',
permanent: true,
},
{
source: '/fraud-prevention/mobile-fingerprinting',
destination: '/fraud-prevention/mobile-app-setup',
permanent: true,
},
{
source: '/fraud-prevention/custom-rules',
destination: '/fraud-prevention/risk-rules',
permanent: true,
},
{
source: '/fraud-prevention/custom-rules/low-code-rule-builder',
destination: '/fraud-prevention/risk-rules/low-code-builder',
permanent: true,
},
{
source: '/fraud-prevention/custom-rules/custom-rules-cookbook',
destination: '/fraud-prevention/risk-rules/example-custom-rules',
permanent: true,
},
{
source: '/fraud-prevention/use-cases',
destination: '/fraud-prevention',
permanent: true,
},
{
source: '/fraud-prevention/events',
destination: '/fraud-prevention/risk-rules/standard-event-types',
permanent: true,
},
{
source: '/mobile-sdks/:slug',
destination: '/mobile-sdks/api-reference/:slug',
permanent: true,
},
{
source: '/mobile-security-features',
destination: '/mobile-app-security',
permanent: true,
},
{
source: '/integrations/:path',
destination: '/passwordless-authentication/integrations/:path',
permanent: true,
},
{
source: '/echoguard/email-magic-link',
destination: '/passwordless-authentication/echoguard/email-magic-link',
permanent: true,
},
{
source: '/echoguard/reverse-sms',
destination: '/passwordless-authentication/echoguard/reverse-sms',
permanent: true,
},
];
},
});