Navigation Failed Because The Request Was For An Http Url: With Https-only Enabled
Audit your code for stray http:// references today—your users’ browsers are already doing the same.
Add this header to your server (Apache/NGINX): Audit your code for stray http:// references today—your
// Option C: Just use a relative path if on the same origin fetch('/api/data'); If the browser is trying to access your http:// resource because your server is misconfigured, you can train the browser to never use HTTP again via HTTP Strict Transport Security (HSTS) . Audit your code for stray http:// references today—your
The “Navigation Failed” Paradox: Debugging HTTP Requests in an HTTPS-Only World Audit your code for stray http:// references today—your