From e21a3bca35b04be27714402b0652326da20e286c Mon Sep 17 00:00:00 2001 From: Andrew Jiang Date: Fri, 20 Dec 2024 04:50:03 -0500 Subject: [PATCH] remove edge --- .../fern-docs/api-definition/[api]/endpoint/[endpoint]/route.ts | 2 -- .../fern-docs/api-definition/[api]/webhook/[webhook]/route.ts | 2 -- .../api-definition/[api]/websocket/[websocket]/route.ts | 2 -- 3 files changed, 6 deletions(-) diff --git a/packages/fern-docs/bundle/src/app/api/fern-docs/api-definition/[api]/endpoint/[endpoint]/route.ts b/packages/fern-docs/bundle/src/app/api/fern-docs/api-definition/[api]/endpoint/[endpoint]/route.ts index ed3eaa3a81..ca49715a67 100644 --- a/packages/fern-docs/bundle/src/app/api/fern-docs/api-definition/[api]/endpoint/[endpoint]/route.ts +++ b/packages/fern-docs/bundle/src/app/api/fern-docs/api-definition/[api]/endpoint/[endpoint]/route.ts @@ -5,8 +5,6 @@ import { getFeatureFlags } from "@fern-docs/edge-config"; import { getMdxBundler } from "@fern-docs/ui/bundlers"; import { NextRequest, NextResponse } from "next/server"; -export const runtime = "edge"; - export async function GET( req: NextRequest, { params }: { params: { api: string; endpoint: string } } diff --git a/packages/fern-docs/bundle/src/app/api/fern-docs/api-definition/[api]/webhook/[webhook]/route.ts b/packages/fern-docs/bundle/src/app/api/fern-docs/api-definition/[api]/webhook/[webhook]/route.ts index 2bcb98a584..711977278c 100644 --- a/packages/fern-docs/bundle/src/app/api/fern-docs/api-definition/[api]/webhook/[webhook]/route.ts +++ b/packages/fern-docs/bundle/src/app/api/fern-docs/api-definition/[api]/webhook/[webhook]/route.ts @@ -5,8 +5,6 @@ import { getFeatureFlags } from "@fern-docs/edge-config"; import { getMdxBundler } from "@fern-docs/ui/bundlers"; import { NextRequest, NextResponse } from "next/server"; -export const runtime = "edge"; - export async function GET( req: NextRequest, { params }: { params: { api: string; webhook: string } } diff --git a/packages/fern-docs/bundle/src/app/api/fern-docs/api-definition/[api]/websocket/[websocket]/route.ts b/packages/fern-docs/bundle/src/app/api/fern-docs/api-definition/[api]/websocket/[websocket]/route.ts index e81edcde63..ab3238e9d5 100644 --- a/packages/fern-docs/bundle/src/app/api/fern-docs/api-definition/[api]/websocket/[websocket]/route.ts +++ b/packages/fern-docs/bundle/src/app/api/fern-docs/api-definition/[api]/websocket/[websocket]/route.ts @@ -5,8 +5,6 @@ import { getFeatureFlags } from "@fern-docs/edge-config"; import { getMdxBundler } from "@fern-docs/ui/bundlers"; import { NextRequest, NextResponse } from "next/server"; -export const runtime = "edge"; - export async function GET( req: NextRequest, { params }: { params: { api: string; websocket: string } }