Skip to content

Instantly share code, notes, and snippets.

@jamesdaniels
Created October 30, 2025 15:00
Show Gist options
  • Select an option

  • Save jamesdaniels/8e20e1b5ef3d1e4041284415965a4420 to your computer and use it in GitHub Desktop.

Select an option

Save jamesdaniels/8e20e1b5ef3d1e4041284415965a4420 to your computer and use it in GitHub Desktop.
➜ adapter-nextjs git:(jamesdaniels_nextjsNativeAdapter) ✗ curl --raw http://127.0.0.1:8080/products/5
678
<!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="/_next/static/chunks/d6ea40c43f2de654.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/0599602c73140366.js"/><script src="/_next/static/chunks/46cd480c25d0c3ed.js" async=""></script><script src="/_next/static/chunks/8ae3ca01167bb20a.js" async=""></script><script src="/_next/static/chunks/turbopack-e64805bb4de037f0.js" async=""></script><script src="/_next/static/chunks/ff1a16fafef87110.js" async=""></script><script src="/_next/static/chunks/3f1a423581781f16.js" async=""></script><meta name="next-size-adjust" content=""/><title>Create Next App</title><meta name="description" content="Generated by create next app"/><link rel="icon" href="/favicon.ico?favicon.0b3bf435.ico" sizes="256x256" type="image/x-icon"/><script src="/_next/static/chunks/a6dad97d9634a72d.js" noModule=""></script></head><body class="geist_a71539c9-module__T19VSG__variable geist_mono_8d43a2aa-module__8Li5zG__variable antialiased"><div hidden=""><!--$--><!--/$--></div><!--&--><!--&--><!--&--><!--$--><pre>0<!-- --> <!-- -->5</pre><!--/$--><!--$?--><template id="B:0"></template><div>1…</div><!--/$--><!--$--><pre>2<!-- --> <!-- -->5</pre><!--/$--><!--$?--><template id="B:1"></template><div>3…</div><!--/$--><!--$--><pre>4<!-- --> <!-- -->5</pre><!--/$--><!--$--><!--/$--><!--/&--><!--/&--><!--/&--><script>requestAnimationFrame(function(){$RT=performance.now()});</script><script src="/_next/static/chunks/0599602c73140366.js" id="_R_" async=""></script>
3c
<script>(self.__next_f=self.__next_f||[]).push([0])</script>
4df
<script src="/_next/static/chunks/a6dad97d9634a72d.js" noModule=""></script><div hidden id="S:1"><pre>$</pre></div><script>$RB=[];$RV=function(a){$RT=performance.now();for(var b=0;b<a.length;b+=2){var c=a[b],e=a[b+1];null!==e.parentNode&&e.parentNode.removeChild(e);var f=c.parentNode;if(f){var g=c.previousSibling,h=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d||"/&"===d)if(0===h)break;else h--;else"$"!==d&&"$?"!==d&&"$~"!==d&&"$!"!==d&&"&"!==d||h++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;e.firstChild;)f.insertBefore(e.firstChild,c);g.data="$";g._reactRetry&&requestAnimationFrame(g._reactRetry)}}a.length=0};
$RC=function(a,b){if(b=document.getElementById(b))(a=document.getElementById(a))?(a.previousSibling.data="$~",$RB.push(a,b),2===$RB.length&&("number"!==typeof $RT?requestAnimationFrame($RV.bind(null,$RB)):(a=performance.now(),setTimeout($RV.bind(null,$RB),2300>a&&2E3<a?2300-a:$RT+300-a)))):b.parentNode.removeChild(b)};$RC("B:1","S:1")</script><div hidden id="S:0"><pre>0<!-- --> <!-- -->5</pre></div><script>$RC("B:0","S:0")</script><div hidden id="S:2"><pre>2<!-- --> <!-- -->5</pre></div><script>$RC("B:2","S:2")</script><div hidden id="S:4"><pre>4<!-- --> <!-- -->5</pre></div><script>$RC("B:4","S:4")</script>
47c
<script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[39756,[\"/_next/static/chunks/ff1a16fafef87110.js\",\"/_next/static/chunks/3f1a423581781f16.js\"],\"default\"]\n3:I[37457,[\"/_next/static/chunks/ff1a16fafef87110.js\",\"/_next/static/chunks/3f1a423581781f16.js\"],\"default\"]\n4:\"$Sreact.suspense\"\na:I[97367,[\"/_next/static/chunks/ff1a16fafef87110.js\",\"/_next/static/chunks/3f1a423581781f16.js\"],\"OutletBoundary\"]\nc:I[97367,[\"/_next/static/chunks/ff1a16fafef87110.js\",\"/_next/static/chunks/3f1a423581781f16.js\"],\"ViewportBoundary\"]\ne:I[97367,[\"/_next/static/chunks/ff1a16fafef87110.js\",\"/_next/static/chunks/3f1a423581781f16.js\"],\"MetadataBoundary\"]\n10:I[68027,[],\"default\"]\n11:I[27201,[\"/_next/static/chunks/ff1a16fafef87110.js\",\"/_next/static/chunks/3f1a423581781f16.js\"],\"IconMark\"]\n:HL[\"/_next/static/chunks/d6ea40c43f2de654.css\",\"style\"]\n:HL[\"/_next/static/media/797e433ab948586e-s.p.dbea232f.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n:HL[\"/_next/static/media/caa3a2e1cccd8315-s.p.853070df.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n"])</script>
109a
<script>self.__next_f.push([1,"0:{\"P\":null,\"b\":\"1BPD4jodVXMW_115h3233\",\"c\":[\"\",\"_next\",\"postponed\",\"resume\",\"products\",\"5\"],\"q\":\"\",\"i\":false,\"f\":[[[\"\",{\"children\":[\"products\",{\"children\":[[\"id\",\"5\",\"d\"],{\"children\":[\"__PAGE__\",{}]}]}]},\"$undefined\",\"$undefined\",true],[[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/chunks/d6ea40c43f2de654.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"children\":[\"$\",\"body\",null,{\"className\":\"geist_a71539c9-module__T19VSG__variable geist_mono_8d43a2aa-module__8Li5zG__variable antialiased\",\"children\":[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":404}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],[]],\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]}]}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"$4\",null,{\"fallback\":[\"$\",\"div\",null,{\"children\":\"0…\"}],\"children\":\"$L5\"}],[\"$\",\"$4\",null,{\"fallback\":[\"$\",\"div\",null,{\"children\":\"1…\"}],\"children\":\"$L6\"}],[\"$\",\"$4\",null,{\"fallback\":[\"$\",\"div\",null,{\"children\":\"2…\"}],\"children\":\"$L7\"}],[\"$\",\"$4\",null,{\"fallback\":[\"$\",\"div\",null,{\"children\":\"3…\"}],\"children\":\"$L8\"}],[\"$\",\"$4\",null,{\"fallback\":[\"$\",\"div\",null,{\"children\":\"4…\"}],\"children\":\"$L9\"}]],null,[\"$\",\"$La\",null,{\"children\":[\"$\",\"$4\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@b\"}]}]]}],{},null,false,false]},null,false,false]},null,false,false]},null,false,false],[\"$\",\"$1\",\"h\",{\"children\":[null,[\"$\",\"$Lc\",null,{\"children\":\"$@d\"}],[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$Le\",null,{\"children\":[\"$\",\"$4\",null,{\"name\":\"Next.Metadata\",\"children\":\"$@f\"}]}]}],[\"$\",\"meta\",null,{\"name\":\"next-size-adjust\",\"content\":\"\"}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$10\",[]],\"s\":true,\"S\":false}\n"])</script>
2f0
<script>self.__next_f.push([1,"6:[\"$\",\"pre\",null,{\"children\":[\"$$\",\"$undefined\"]}]\n5:[\"$\",\"pre\",null,{\"children\":[0,\" \",\"5\"]}]\n7:[\"$\",\"pre\",null,{\"children\":[2,\" \",\"5\"]}]\n9:[\"$\",\"pre\",null,{\"children\":[4,\" \",\"5\"]}]\nd:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\nf:[[\"$\",\"title\",\"0\",{\"children\":\"Create Next App\"}],[\"$\",\"meta\",\"1\",{\"name\":\"description\",\"content\":\"Generated by create next app\"}],[\"$\",\"link\",\"2\",{\"rel\":\"icon\",\"href\":\"/favicon.ico?favicon.0b3bf435.ico\",\"sizes\":\"256x256\",\"type\":\"image/x-icon\"}],[\"$\",\"$L11\",\"3\",{}]]\nb:null\n"])</script>
32
<script>self.__next_f.push([1,"8:763\n"])</script>
55
<div hidden id="S:3">763<!-- --></div><script>$RC("B:3","S:3")</script></body></html>
0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment