I’m new to Cloudflare so this is probably something obvious that I’ve done wrong…
Currently I host a old static website (circa 2004) at dreamhost. It works fine over there. That URL is tinkerville.cutthatout.com
I’d like to move it over to Cloudflare pages so I can drop the dreamhost account. I created a new project and used “direct upload” to send all my pages up to Cloudflare. 774 Files uploaded successfully.
I went with direct upload because this isn’t already set up in a git and since I don’t ever plan to change or update the code, this seemed like the least complicated approach.
Everything looks like it worked, but when I visit the site tinkerville.pages.dev, the index.html page is rendered as text. If I enter the URL for an image my browser prompts me to select a local location to save the file.
I’m using Firefox on Windows primarily but I have verified the problem occurs in Edge on Windows and in Brave on Android as well.
I’m sure I’ve just failed to configure something properly, but I’m at a loss where to start since even basic image serving doesn’t work.
Aha. I created a new project via Firefox and now have reproduced the bug.
Previously, I had created the project via Safari (worked) and uploaded a new deployment via Firefox (worked). Now I have a project created via Firefox (no content-type) and if I upload a new deployment via Safari, still no content-type (in fact, returning no content at all). https://testsite3.pages.dev
And now I’ve uploaded a new deployment via Safari as a directory rather than a zip file, in the same project, and it works again. weird
I’ve still not been able to repro myself… seems to be something Firefox related but it’s weird since it shouldn’t matter at all what browser is used. We do the type stuff server side not client but yeah…
We’re aware of the bug just no idea how it’s caused yet and repro is hard.