From 23596b48ca03a74c7555ada3fe1f184d29b777a8 Mon Sep 17 00:00:00 2001
From: Jarred Sumner <jarred@jarredsumner.com>
Date: Thu, 24 Feb 2022 19:24:48 -0800
Subject: [bun-framework-next] Support Next.js 12.1

---
 packages/bun-framework-next/server.development.tsx | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

(limited to 'packages/bun-framework-next/server.development.tsx')

diff --git a/packages/bun-framework-next/server.development.tsx b/packages/bun-framework-next/server.development.tsx
index 3689dc96e..41d616ba8 100644
--- a/packages/bun-framework-next/server.development.tsx
+++ b/packages/bun-framework-next/server.development.tsx
@@ -4,7 +4,9 @@ import { render } from "./renderDocument";
 
 const { version } = nextPackage;
 if (
-  (!version.startsWith("11.1") && !version.startsWith("12.0")) ||
+  (!version.startsWith("11.1") &&
+    !version.startsWith("12.0") &&
+    !version.startsWith("12.1")) ||
   version === "11.1.0" ||
   version === "11.1.1"
 ) {
-- 
cgit v1.2.3

