Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC

Activities of "cictan"

Question

my host website is dobany.com, angular site is admin.dobany.com, I have aleady updated the setting like this: "App": { "ServerRootAddress": "http://dobany.com", "ClientRootAddress": "http://admin.dobany.com", "CorsOrigins": "http://*.dobany.com,http://localhost:4200,http://localhost:49152,http://admin.dobany.com", "SwaggerEndPoint": "/swagger/v1/swagger.json", "AllowAnonymousSignalRConnection": "true" },

But I still have issues:

  1. angular site works fine, I can see the data loaded, however, when I submitted email setting from the host setting page, the error messages showed: Access to XMLHttpRequest at 'http://dobany.com/api/services/app/HostSettings/UpdateAllSettings' from origin 'http://admin.dobany.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. polyfills.59c59ad684f93239a61e.js:1 PUT http://dobany.com/api/services/app/HostSettings/UpdateAllSettings net::ERR_FAILED

  2. When I refreshed the home page or loaded different pages, the cors policy issue showed occasionally

Showing 11 to 11 of 11 entries