I’m using Google Cloud to deploy several personal websites.
When making API calls using the fetch command, such as http://example:8080/products, the browser automatically redirects to https://example:8080/products.
I want to either redirect from http://example:8080 to https://example:8080 or prevent the browser from automatically redirecting HTTP to HTTPS.
How can I achieve this?