-
Notifications
You must be signed in to change notification settings - Fork 0
/
next.config.js
39 lines (38 loc) · 1 KB
/
next.config.js
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
/** @type {import('next').NextConfig} */
const nextConfig = {
async redirects() {
return [
{
source: '/about',
destination: '/',
permanent: true,
},
{
source: '/home-assistant-zigbee2mqtt-setup-with-raspbee-ii-on-raspberrypi',
destination: '/posts/home-assistant-zigbee2mqtt-setup-with-raspbee-ii-on-raspberrypi',
permanent: true,
},
{
source: '/advanced-typescript-patterns-part-2',
destination: '/posts/advanced-typescript-patterns-part-2',
permanent: true,
},
{
source: '/advanced-typescript-patterns-part-1',
destination: '/posts/advanced-typescript-patterns-part-1',
permanent: true,
},
{
source: '/toggle-dark-mode',
destination: '/posts/toggle-dark-mode',
permanent: true,
},
{
source: '/blog-init',
destination: '/posts/blog-init',
permanent: true,
},
]
},
}
module.exports = nextConfig