0
wanghugh created
I can run the Angular client and serverapi ok. When I publish the webhost。I can‘t open angular client. services.AddCors(options => { options.AddPolicy(DefaultCorsPolicyName, builder => {
builder.AllowAnyOrigin()
.AllowAnyHeader()
.AllowAnyMethod();
});
});
I have allow all CORS.
1 Answer(s)
-
0
Hi @wanghugh
Do you have any error message on the server side log file ? You problem might not be related to CORS.