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.