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
Markdown is supported
Copy & paste or drag & drop images (max 30 MB per image)
1 Answer(s)
-
0
Hi @mahendra,
Could you share
remoteServiceBaseUrlandappBaseUrlin your published appconfig.production.jsonCorsOriginsin published appsettings.json (or appsettings.production.json according to yor published environment)
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image)