Anyone been able to host Flutterflow web app on S3?

Troubleshooting

Hi,

A lot of folks are saying that it's utterly simple to host a Flutter web app on S3 but when I tried this, I managed to get a successful login to my Appwrite but the redirect to the "home" page does not happen. Technically, I know there is no "home" page in the set, the home page is "inside" the index.html like a sort of SPA.

Other sources suggested that even if we're hosting this on Vercel, we need to have something to rewrite so that users go back to the index for the "home" and other pages.
https://www.knkt.com.au/blog/how-to-self-host-flutterflow-on-vercel

Is there any way to do this on S3 without having to setup a web server (which is just to handle the rewrites)??

Some further references on this:
https://docs.flutter.dev/ui/navigation/url-strategies

What have you tried so far?

Changing the href to point to './' instead of '/'
have also tried '/website/' (where website is my directory on S3)

Did you check FlutterFlow's Documentation for this topic?
Yes