This repository has been archived by the owner on Jul 4, 2024. It is now read-only.
forked from hackclub/global
-
Notifications
You must be signed in to change notification settings - Fork 0
/
next.config.js
75 lines (75 loc) · 1.55 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
const withMDX = require('@next/mdx')({ extension: /\.mdx?$/ })
module.exports = withMDX({
pageExtensions: ['js', 'jsx', 'mdx'],
i18n: {
locales: ['en', 'es', 'fr', 'zh', 'kr', 'tr', 'hin', 'pl', 'el', 'ms', 'bn', 'ur' , 'th' ],
defaultLocale: 'en',
domains: [
{
domain: 'hackclub.es',
defaultLocale: 'es',
http: true
},
{
domain: 'zh.hackclub.com',
defaultLocale: 'zh',
http: true
},
{
domain: 'fr.hackclub.com',
defaultLocale: 'fr',
http: true
},
{
domain: 'kr.hackclub.com',
defaultLocale: 'kr',
http: true
},
{
domain: 'tr.hackclub.com',
defaultLocale: 'tr',
http: true
},
{
domain: 'hin.hackclub.com',
defaultLocale: 'hin',
http: true
},
{
domain: 'pl.hackclub.com',
defaultLocale: 'pl',
http: true
},
{
domain: 'ms.hackclub.com',
defaultLocale: 'ms',
http: true
},
{
domain: 'gr.hackclub.com',
defaultLocale: 'el',
http: true
},
{
domain: 'ur.hackclub.com',
defaultLocale: 'ur',
http: true
},
{
domain: 'bn.hackclub.com',
defaultLocale: 'bn',
http: true
},
{
domain: 'jp.hackclub.com',
defaultLocale: 'jp',
http: true
},
{
domain: 'thai.hackclub.com',
defaultLocale: 'th',
http: true
}
]
}
})