Skip to content

Commit

Permalink
remove seo fix
Browse files Browse the repository at this point in the history
  • Loading branch information
chdeskur committed Mar 8, 2025
1 parent e13e735 commit 1340f2b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,5 @@ export async function generateMetadata({
},
description:
"Browse, explore, and try out API endpoints without leaving the documentation.",
robots: {
index: false,
follow: false,
},
};
}
7 changes: 1 addition & 6 deletions packages/fern-docs/bundle/src/app/robots.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,7 @@ import urlJoin from "url-join";

import { withDefaultProtocol } from "@fern-api/ui-core-utils";
import { getSeoDisabled } from "@fern-docs/edge-config";
import {
HEADER_HOST,
HEADER_X_FERN_HOST,
conformTrailingSlash,
} from "@fern-docs/utils";
import { HEADER_HOST, HEADER_X_FERN_HOST } from "@fern-docs/utils";

export const runtime = "edge";

Expand Down Expand Up @@ -47,7 +43,6 @@ export default async function robots(): Promise<MetadataRoute.Robots> {
rules: {
userAgent: "*",
allow: "/",
disallow: conformTrailingSlash("*/~explorer"),
},
sitemap,
host: domain,
Expand Down

0 comments on commit 1340f2b

Please sign in to comment.