I am running my angular project on my local network with this command:
ng serve --host=<ip_adress>. I can get onto the page via http from a mobile phone, but there I get the error message
I don’t have anything set with https, the base is set in the index.html like this
Found the answer/found my own mistake.
I still had the meta tag
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests"> in my index.html head.
Answered By – Jinxik
Answer Checked By – Timothy Miller (AngularFixing Admin)