You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 17, 2023. It is now read-only.
This behavior doesn’t come for free with Workers but it does with Pages. Sounds like you should be using that for this project — you can still deploy a sibling Worker alongside your Pages project if you have any dynamic endpoints
Hi there,
I think this is a bug in Cloudflare Workers.
We are using Hugo and Cloudflare workers to push our static site, and Github does the automatic build and push.
% curl -svo /dev/null https://jonahnz.com/404.html
...
< HTTP/2 200
< date: Thu, 05 May 2022 16:55:39 GMT
< content-type: text/html; charset=utf-8
< content-length: 1159
That seems to have content type but not this random 404 address:
% curl -svo /dev/null https://jonahnz.com/non-existing-URL
...
< HTTP/2 404
< date: Thu, 05 May 2022 16:57:03 GMT
< content-length: 1159
For some odd reason, the HTML is not rendering so if there is a non-existing URL like https://jonahnz.com/randskdfskuh - you can see it displays just raw HTML rather than outputting this page https://jonahnz.com/404.html
The text was updated successfully, but these errors were encountered: