-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnext.config.js
41 lines (41 loc) · 992 Bytes
/
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
40
41
module.exports = {
env: {
NOTION_ACCESS_TOKEN: process.env.NOTION_ACCESS_TOKEN,
NOTION_CLIMB_DATABASE_ID: process.env.NOTION_CLIMB_DATABASE_ID,
NOTION_GEAR_DATABASE_ID: process.env.NOTION_GEAR_DATABASE_ID,
NOTION_PEAK_DATABASE_ID: process.env.NOTION_PEAK_DATABASE_ID,
NOTION_PHOTO_DATABASE_ID: process.env.NOTION_PHOTO_DATABASE_ID,
},
images: {
remotePatterns: [{
protocol: 'https',
hostname: 's3.us-west-2.amazonaws.com',
port: '',
search: '',
}, {
protocol: 'https',
hostname: 'live.staticflickr.com',
port: '',
search: '',
}, {
protocol: 'https',
hostname: 'raw.githubusercontent.com',
port: '',
search: '',
}]
},
async redirects() {
return [
{
source: '/centennials',
destination: '/peak-list',
permanent: true,
},
{
source: '/gear',
destination: '/gear-list',
permanent: true,
},
]
},
}