aboutsummaryrefslogtreecommitdiff
path: root/examples/hello-next/bun-framework-next/server.development.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'examples/hello-next/bun-framework-next/server.development.tsx')
-rw-r--r--examples/hello-next/bun-framework-next/server.development.tsx2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/hello-next/bun-framework-next/server.development.tsx b/examples/hello-next/bun-framework-next/server.development.tsx
index 593ebbfa5..c6a7beebf 100644
--- a/examples/hello-next/bun-framework-next/server.development.tsx
+++ b/examples/hello-next/bun-framework-next/server.development.tsx
@@ -1,4 +1,6 @@
import * as React from "react";
+import { Buffer } from "buffer";
+globalThis.Buffer = Buffer;
class URL {
constructor(base, source) {