Mixed content error due to https to http

Hi i’m budding developer in ionic platform.
When i run my app in chrome browser and with live reload it’s working fine.
but after the build the application it’s not working.
When open the application the file path with Https://localhost it’s secured. but i’m using http path.
I need to change my file path location to filepath://index.html