79234574

Date: 2024-11-28 15:58:31
Score: 1
Natty:
Report link

services.AddCors(options =>

{

    options.AddPolicy("AllowBlazorApp", builder =>

    {

        builder.WithOrigins("https://example.com") // the origin of your Blazor app

               .AllowAnyMethod()

               .AllowAnyHeader();

    });

});
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Venura Siriwardhana