#VDK2CH-3 пробуем починку
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Simple_Not 2023-06-30 20:41:52 +10:00
parent 764e625631
commit 3ac93279fb

View File

@ -14,8 +14,7 @@ builder.Services.AddCors(setup =>
policyBuilder.SetIsOriginAllowed(origin => new Uri(origin).Host == "localhost");
//policyBuilder.WithOrigins("http://www.vdk2ch.ru:4200").WithMethods("GET", "POST").WithHeaders("*");
policyBuilder.WithOrigins("https://www.vdk2ch.ru").WithMethods("GET", "POST").WithHeaders("*");
policyBuilder.WithOrigins("https://www.vdk2ch.ru").WithMethods("GET", "POST").WithHeaders("*");
policyBuilder.WithOrigins("https://www.vdk2ch.ru").WithMethods("GET", "POST").WithHeaders("*");
//policyBuilder.WithOrigins("http://localhost:4200").WithMethods("GET", "POST").WithHeaders("*");
});