0
mahendra created
Hi,
We are using ASPNetZero 8.0 with Angular and .Net Core. When we enables the chat feature, it works well at localhost. But when we deploy the server and the client at Azure (as a WebApp), we are getting following CORS error in chat.
"The Same Origin Policy disallows reading the remote resource at http://ivendretail-server.azurewebsites.net//signalr-chat/ne…J7JkmqGyBT%2FCt7%2BGZNIlnt2Txn2BCsar4wse6e%2FBAbemkdwA%3D%3D. (Reason: expected ‘true’ in CORS header ‘Access-Control-Allow-Credentials’)."
Please advise..
Regards, Mahendra
1 Answer(s)
-
0
Hi @mahendra,
Could you share
remoteServiceBaseUrl
andappBaseUrl
in your published appconfig.production.jsonCorsOrigins
in published appsettings.json (or appsettings.production.json according to yor published environment)