Open Closed

Cors Issue #9433

hasan created

Dear Team,

We are deploying the application in the following url as in azure.

We are facing CORS policy blocking issue. As shown below. We have set the App Service CORS setting as “*” for wildcard.

Here is the AppSettings

Appsetting.production.json "App": { "ServerRootAddress": "https://{TENANCY_NAME}", "ClientRootAddress": "https://{TENANCY_NAME}", "CorsOrigins": "https://*, ", "SwaggerEndPoint": "/swagger/v1/swagger.json", "AllowAnonymousSignalRConnection": "true" },

Appconfig.production.json "remoteServiceBaseUrl": "http://{TENANCY_NAME}", "appBaseUrl": "http://{TENANCY_NAME}",

3 Answer(s)
  • 0
    ismcagdas created
    Support Team

    Hi @hasan,

    Did you check Log file of your api project ? This might be related to another problem.

  • 0
    hasan created

    There is no log at all

  • 0
    maliming created
    Support Team

    hi hasan

    • What is your product version?
    • What is product framework type (.net framework or .net core version)?
    • What is ABP Framework version?

    Have you tried deploying the application and angular to local iis?