Base solution for your next web application
Open Closed

Problem with HTTPS in AZURE #4489


User avatar
0
simedbn created

Hello,

i have this problem in Azure :

The page at 'https://angular.azurewebsites.net/' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'http:/api.azurewebsites.net/AbpUserConfiguration/GetAll'. This request has been blocked; the content must be served over HTTPS.

How can i send an https request from the Angular APP ?

Thanks


2 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @simedbn,

    You need to change your remoteServiceBaseUrl under "angular/src/assets/appconfig.json" to https version.

    {
      "remoteServiceBaseUrl": "https:/api.azurewebsites.net",
    ....
    }
    
  • User Avatar
    0
    simedbn created

    Hi,

    Thank you ^^