Are you using an online tool to check the redirect? Because most of them will not work due to this security system:
So, the best way to check if forced HTTPS is working or not is to do it manually. If it doesn’t work, try clearing the cache. Because your site is forcing HTTPS when I visit it.
Actually, free hosting web servers use a combination of Nginx and Apache, which means .htaccess will work. So, ChatGPT is somewhat wrong here.