Intermittent CORS policy issue with ABP (AspNet Boilerplate) API

Discussão em 'Angular' iniciado por ANKIT, Novembro 17, 2024.

  1. ANKIT

    ANKIT Guest

    ASP.NET Zero (.Net Core v2 + Angular v5)

    AbpUserConfiguration/GetAll breaking sometimes, after serving few requests it start generating cross domain issue other times it works perfectly.

    Following is the error.


    Access to XMLHttpRequest at 'http://localhost:22743/AbpUserConfiguration/GetAll' from origin 'http://localhost:4200' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

    GET http://localhost:22743/AbpUserConfiguration/GetAll net::ERR_FAILED
    ​

    Continue reading...

Compartilhe esta Página