forked from barbarbar338/webpage
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnext.config.js
44 lines (42 loc) · 908 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
42
43
44
/* eslint-disable @typescript-eslint/no-var-requires */
/**
* @type {import("next").NextConfig}
*/
const nextConfig = {
reactStrictMode: true,
poweredByHeader: false,
trailingSlash: true,
swcMinify: true,
i18n: {
locales: ["en", "tr"],
defaultLocale: "en",
},
images: {
domains: ["avatars.githubusercontent.com", "api.338.rocks"],
},
async redirects() {
return [
{
source: "/github",
destination: "https://github.com/barbarbar338",
permanent: true,
},
{
source: "/instagram",
destination: "https://www.instagram.com/ben_baris.",
permanent: true,
},
{
source: "/youtube",
destination: "https://www.youtube.com/@barbarbar338",
permanent: true,
},
{
source: "/discord",
destination: "https://discord.gg/BjEJFwh",
permanent: true,
},
];
},
};
module.exports = nextConfig;