Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

just remove it ffs

Richie McIlroye4d57c991872
diff --git a/apps/web/next.config.mjs b/apps/web/next.config.mjs
index b51d22dee..0a30c0e48 100644
--- a/apps/web/next.config.mjs
+++ b/apps/web/next.config.mjs
@@ -58,7 +58,7 @@ const nextConfig = {
].filter(Boolean),
},
async rewrites() {
- const rewrites = [
+ return [
{
source: "/r/:path*",
destination: "https://dub.cap.link/:path*",
@@ -78,14 +78,6 @@ const nextConfig = {
],
},
];
- if (process.env.NEXT_PUBLIC_IS_CAP === "true") {
- rewrites.push({
- source: "/help/:path*",
- destination: "https://helpcenter.cap.so/en/:path*",
- });
- }
-
- return rewrites;
},
async redirects() {
return [