Cloudflare Pages content type without .html extension

I am using pages with direct upload. My site is built without .html extension. However the browser tries to download the page and not display. If I add .html it works ok. Is there a setting for content when using wrangler pages publish to set content type ?

A post was merged into an existing topic: Wrangler pages publish exclude files or folders