Skip to content

Commit e4d57c9

Browse files
committed
just remove it ffs
1 parent 39e0538 commit e4d57c9

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

apps/web/next.config.mjs

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ const nextConfig = {
5858
].filter(Boolean),
5959
},
6060
async rewrites() {
61-
const rewrites = [
61+
return [
6262
{
6363
source: "/r/:path*",
6464
destination: "https://dub.cap.link/:path*",
@@ -78,14 +78,6 @@ const nextConfig = {
7878
],
7979
},
8080
];
81-
if (process.env.NEXT_PUBLIC_IS_CAP === "true") {
82-
rewrites.push({
83-
source: "/help/:path*",
84-
destination: "https://helpcenter.cap.so/en/:path*",
85-
});
86-
}
87-
88-
return rewrites;
8981
},
9082
async redirects() {
9183
return [

0 commit comments

Comments
 (0)