How to hide .html in flyio

I used .htaccess >>
RewriteEngineOn
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ $1.html [L]
and deployed to my web, but I connect to my web page
https://.fly.dev/Page does not work, I have to use https://.fly.dev/Page.html for it to work

What are you hosting with?

I personally don’t have this issue with node/express or with go - fasthttp or net/http.

Is it static files?

I am using a static website setup. Is it necessary to make it dynamic? Dynamic websites don’t seem to align with my current web page needs.

Have you tried following this setup?

I have not tried to setup a static site with fly.io. I wish I could help more.