-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathnext.config.js
More file actions
executable file
·54 lines (53 loc) · 1.08 KB
/
next.config.js
File metadata and controls
executable file
·54 lines (53 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
/** @type {import('next').NextConfig} */
const nextConfig = {
reactStrictMode: true,
trailingSlash: true,
experimental: {
externalDir: true,
},
async rewrites() {
return [
{
source: '/v1',
destination: '/v1/index.html'
},
{
source: '/v2',
destination: '/v2/index.html'
},
{
source: '/v3',
destination: '/v3/index.html'
},
{
source: '/v4',
destination: '/v4/index.html'
},
{
source: '/netview',
destination: '/netview/index.html'
},
{
source: '/econsec',
destination: '/econsec/index.html'
},
{
source: '/klpga',
destination: '/klpga/index.html'
},
{
source: '/snumba',
destination: '/snumba/index.html'
},
{
source: '/courses/dav-fall21',
destination: '/courses/dav-fall21/index.html'
},
{
source: '/courses/ibk2023',
destination: '/courses/ibk2023/index.html'
},
]
}
};
module.exports = nextConfig;