mirror of
https://github.com/shishantbiswas/bknd.git
synced 2026-03-16 04:27:21 +00:00
fixed nextjs build + confirmed node adapter
This commit is contained in:
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user