From 8e0cf9d0f366b6278f51f404c0e58d0aa7a6825e Mon Sep 17 00:00:00 2001 From: MythEclipse Date: Thu, 7 May 2026 19:53:20 +0700 Subject: [PATCH] fix: update import path for relay-utils and restore functions configuration in vercel.json --- api/index.ts | 2 +- vercel.json | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/api/index.ts b/api/index.ts index f16a288..993aaac 100644 --- a/api/index.ts +++ b/api/index.ts @@ -4,7 +4,7 @@ import { normalizeTargetUrl, stripRelayHeaders, isAllowedTarget, -} from "~/relay-utils"; +} from "./relay-utils"; export const config = { runtime: "edge" }; diff --git a/vercel.json b/vercel.json index 9fbbe05..06b3c36 100644 --- a/vercel.json +++ b/vercel.json @@ -1,5 +1,10 @@ { "$schema": "https://openapi.vercel.sh/vercel.json", "bunVersion": "1", - "installCommand": "bun install" + "installCommand": "bun install", + "functions": { + "api/**/*.ts": { + "runtime": "bun" + } + } } \ No newline at end of file