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