From fad25aef2f9b51324cd7aa20701042e9574706a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juan=20Mart=C3=ADn=20Seery?= Date: Wed, 19 Oct 2022 15:24:26 -0300 Subject: [PATCH] fix(vercel): fixed regression #5120 (#5127) --- .changeset/smart-crabs-pump.md | 5 +++++ packages/integrations/vercel/src/edge/adapter.ts | 1 - 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 .changeset/smart-crabs-pump.md diff --git a/.changeset/smart-crabs-pump.md b/.changeset/smart-crabs-pump.md new file mode 100644 index 000000000000..c6566ec0433c --- /dev/null +++ b/.changeset/smart-crabs-pump.md @@ -0,0 +1,5 @@ +--- +'@astrojs/vercel': patch +--- + +Fixed #5120 diff --git a/packages/integrations/vercel/src/edge/adapter.ts b/packages/integrations/vercel/src/edge/adapter.ts index b1f2e8da4ee8..fb1bcee27e5d 100644 --- a/packages/integrations/vercel/src/edge/adapter.ts +++ b/packages/integrations/vercel/src/edge/adapter.ts @@ -47,7 +47,6 @@ export default function vercelEdge({ includeFiles = [] }: VercelEdgeConfig = {}) buildTempFolder = config.build.server; functionFolder = new URL('./functions/render.func/', config.outDir); serverEntry = config.build.serverEntry; - functionFolder = config.build.server; if (config.output === 'static') { throw new Error(`