Hello everyone, I am experiencing an issue that has been solved on here but i am unfamiliar with the syntax and usage of the redirects. I have an endpoint that i am using for my app that is http based and get the classic “Chrome: Mixed Content: The page at ‘’ was loaded over HTTPS, but requested an insecure resource ‘’. This request has been blocked; the content must be served over HTTPS.”
I understand this is due to the endpoint being served over HTTP, and not HTTPS which causes an issue in mixed content. My issue is implementing the solution kindly answered here Requesting an HTTP resource from HTTPS Website
Where exactly do i implement the redirect? Do i have to make a toml file? My endpoint in axios is ‘http://webservices.nextbus.com/service/publicJSONFeed’, the solution that was posted above mentioned to use this /* http://webservices.nextbus.com/service/:splat 200 in the redirect rule.
I have no idea where to place the rule, and lets say i did implement the rule would it look like this "/* http://webservices.nextbus.com/service/publicJSONFeed:splat 200? Im just very unsure and would hope someone could point me in the right direction. Thanks so much for your time!