-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
next.config.js
33 lines (32 loc) · 748 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
/* eslint-disable */
const { withPlugins } = require("next-compose-plugins");
const withYAML = require("next-yaml");
module.exports = withPlugins([[withYAML]], {
cssModules: true,
i18n: {
locales: ["en", "tr", "ru"],
defaultLocale: "en",
},
images: {
domains: ["cdn.discordapp.com", "avatars.githubusercontent.com"],
},
async redirects() {
return [
{
source: "/github",
destination: "https://github.com/barbarbar338/hastepaste",
permanent: true,
},
{
source: "/crowdin",
destination: "https://crowdin.com/project/hastepaste",
permanent: true,
},
{
source: "/status",
destination: "https://status.hastepaste.xyz",
permanent: true,
},
];
},
});