Open kantord opened 9 months ago
Name | Link |
---|---|
Latest commit | 6e4752d0a10e7ff114d4a8d842fd6e664451dff4 |
Latest deploy log | https://app.netlify.com/sites/jest-preview-library/deploys/659d80dce6a71d0008155bea |
Name | Link |
---|---|
Latest commit | 6e4752d0a10e7ff114d4a8d842fd6e664451dff4 |
Latest deploy log | https://app.netlify.com/sites/jest-preview-chinese/deploys/659d80dcf8bac10008c7f722 |
Summary/ Motivation (TLDR;)
This allows
jest-preview
to be used in GitHub Codespaces and probably fixes other problems.The preview server was not setting the content type header in the response. Somehow this does not cause any problems when running in
localhost
, but it seems like it prevents the preview from being rendered in GitHub Codespaces environments, becuase the page gets rendered as a text file instead of htmlRelated issues
Fixes