Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

fix: remove the obsolete homepage preview redirect

Richie McIlroy0dd1df67860a
diff --git a/apps/web/app/sitemap.ts b/apps/web/app/sitemap.ts
index 9d992dc63..448bc01de 100644
--- a/apps/web/app/sitemap.ts
+++ b/apps/web/app/sitemap.ts
@@ -140,11 +140,7 @@ export default async function sitemap() {
{ path: string; lastModified?: string }
>();
for (const route of combined) {
- if (
- route.path !== "/home" &&
- route.path !== "/home-two" &&
- !uniqueByPath.has(route.path)
- ) {
+ if (route.path !== "/home" && !uniqueByPath.has(route.path)) {
uniqueByPath.set(route.path, route);
}
}
diff --git a/apps/web/next.config.mjs b/apps/web/next.config.mjs
index 275f3bfaa..d4b9fa746 100644
--- a/apps/web/next.config.mjs
+++ b/apps/web/next.config.mjs
@@ -117,11 +117,6 @@ const nextConfig = {
},
async redirects() {
return [
- {
- source: "/home-two",
- destination: "/home",
- permanent: true,
- },
{
source: "/roadmap",
destination: