eknkc / ssr-benchmark

Benchmarking JS web framework SSR performance
745 stars 172 forks source link

fix react `content-type` #10

Closed ryoppippi closed 1 month ago

ryoppippi commented 1 month ago

text/plain -> text/html

eknkc commented 1 month ago

It was intentional just to be able to see what it renders on a browser request. React renders hidden templates until hydration kicks in so it is hard to check output otherwise. The headers are discarded during benchmarking anyway so it should have zero effect on the results.