-
Notifications
You must be signed in to change notification settings - Fork 0
/
next.config.js
53 lines (53 loc) · 1.39 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
module.exports = {
i18n: {
locales: ['en', 'pt-BR'],
defaultLocale: 'en',
localeDetection: true,
},
redirects: async () => {
// redirecting from lfcipriani.tumblr.com
return [
{
source: '/post/65952280899',
destination: '/posts/the-4-basic-flows-of-http-caching',
permanent: true,
},
{
source: '/post/62413346456',
destination: '/posts/an-easy-way-to-build-autocomplete-search-for-api-docs',
permanent: true,
},
{
source: '/post/42035650273',
destination: '/posts/alexandria-platform',
permanent: true,
},
{
source: '/post/24200885922',
destination: '/posts/explaining-semantic-web',
permanent: true,
},
{
source: '/post/21380734930',
destination: '/pt-BR/posts/extracao-de-dados-publicos-com-yql-yahoo-pipes-1',
permanent: true,
},
{
source: '/post/21381029425',
destination: '/pt-BR/posts/extracao-de-dados-publicos-com-yql-yahoo-pipes-2',
permanent: true,
},
{
source: '/post/21364056907',
destination: '/pt-BR/posts/brincando-com-apis-de-xmpp',
permanent: true,
},
{
source: '/post/21361278423',
destination: '/pt-BR/posts/breve-introducao-ao-xmpp',
permanent: true,
},
];
},
webpack5: true,
};