Ionic serve remove https for external scripts


In my app, I add an external scripts (Google Maps API) in my index.html. This script is called in https. But when I run an ionic serve command, the https becomes http.

Do you know how to conserve the https ?

Thanx for your help !

If you add a <script> tag in index.html, nothing in Ionic messes with it. Your problem is probably caused by something different.