aboutsummaryrefslogtreecommitdiff
path: root/examples/hello-next/bun-framework-next/server.development.tsx
diff options
context:
space:
mode:
authorGravatar Jarred Sumner <jarred@jarredsumner.com> 2021-08-26 23:25:02 -0700
committerGravatar Jarred Sumner <jarred@jarredsumner.com> 2021-08-26 23:25:02 -0700
commita8da18cbc4071e53425fdc0fb29a9c11d8ef5037 (patch)
tree00bf12819a04ee454c21d34c23daa5f7ede0429a /examples/hello-next/bun-framework-next/server.development.tsx
parentec334111c94bc3935617f2aca89bd05ed37d1b84 (diff)
downloadbun-a8da18cbc4071e53425fdc0fb29a9c11d8ef5037.tar.gz
bun-a8da18cbc4071e53425fdc0fb29a9c11d8ef5037.tar.zst
bun-a8da18cbc4071e53425fdc0fb29a9c11d8ef5037.zip
Latest
Former-commit-id: a52b8b9f1052b3e3136c249aac0a7d93334a3eb7
Diffstat (limited to 'examples/hello-next/bun-framework-next/server.development.tsx')
-rw-r--r--examples/hello-next/bun-framework-next/server.development.tsx11
1 files changed, 0 insertions, 11 deletions
diff --git a/examples/hello-next/bun-framework-next/server.development.tsx b/examples/hello-next/bun-framework-next/server.development.tsx
index 82caf0ab7..02c3eaee0 100644
--- a/examples/hello-next/bun-framework-next/server.development.tsx
+++ b/examples/hello-next/bun-framework-next/server.development.tsx
@@ -71,14 +71,3 @@ addEventListener("fetch", async (event: FetchEvent) => {
export {};
declare var Bun: any;
-
-function getNextData(request: Request, route) {
- return {
- NEXT_DATA: {
- query: route.query,
- props: {},
- page: route.path,
- buildId: buildId.toString(16),
- },
- };
-}