ProjectEvergreen / greenwood

Greenwood is your workbench for the web, embracing web standards from the ground up to empower your stack from front to back.
https://www.greenwoodjs.io
MIT License
96 stars 9 forks source link

adapter SSR pages are rendering with incorrect content type header #1137

Closed thescientist13 closed 1 year ago

thescientist13 commented 1 year ago

Type of Change

Bug

Summary

Noticed as part of some serverless work that SSR pages were not returning the correct content-type. It should be text/html, instead it is text/plain. https://greenwood-demo-adapter-vercel-git-adapte-7d5372-the-green-lodge.vercel.app/artists/

Screen Shot 2023-08-06 at 8 00 26 PM

Details

This fix will target the v0.29.0-alpha.x branch for now since i think it this bug is only impactful to that release line and specific to adapted output, but can certainly backport to v0.28.x if needed.