forked from formbricks/oss.gg
-
Notifications
You must be signed in to change notification settings - Fork 0
/
next.config.mjs
34 lines (33 loc) · 880 Bytes
/
next.config.mjs
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
import "./env.mjs";
/** @type {import('next').NextConfig} */
const nextConfig = {
reactStrictMode: true,
images: {
domains: ["avatars.githubusercontent.com", "pbs.twimg.com"],
},
experimental: {
serverComponentsExternalPackages: ["@prisma/client"],
serverComponentsExternalPackages: ["@aws-sdk"],
},
async redirects() {
return [
{
source: "/discord",
destination: "https://discord.gg/WmH2ymxeuG",
permanent: true,
},
{
source: "/figma",
destination:
"https://www.figma.com/file/usCYaOpv13zMpvjEVc5z0Z/oss.gg-web-app?type=design&node-id=0%3A1&mode=design&t=DnQbQCeApQQoXDbT-1",
permanent: true,
},
{
source: "/github",
destination: "https://github.com/formbricks/oss.gg",
permanent: true,
},
];
},
};
export default nextConfig;