fixed nextjs build + confirmed node adapter

This commit is contained in:
dswbx
2024-11-27 17:07:56 +01:00
parent c31bc2ccb0
commit b6e3c934c4
5 changed files with 19 additions and 19 deletions

View File

@@ -12,10 +12,10 @@ Install bknd as a dependency:
``` tsx
// pages/api/[...route].ts
import { serve } from "bknd/adapter/nextjs";
import type { PageConfig } from "next";
export const config: PageConfig = {
runtime: "edge"
export const config = {
runtime: "experimental-edge",
unstable_allowDynamic: ["**/*.js"]
};
export default serve({