Base solution for your next web application
Open Closed

Publish Error #9201


User avatar
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)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @wanghugh

    Do you have any error message on the server side log file ? You problem might not be related to CORS.