Compare commits

...

2 Commits

Author SHA1 Message Date
Simple_Not
2b1a229623 Merge branch 'master' of http://git.vdk2ch.ru:3000/RakVhalate/2chBackAPI
All checks were successful
continuous-integration/drone/push Build is passing
2023-06-20 12:21:05 +10:00
Simple_Not
7637a40eb6 cors? 2023-06-20 11:58:33 +10:00

View File

@ -12,6 +12,7 @@ builder.Services.AddCors(setup =>
{
policyBuilder.WithOrigins("http://www.vdk2ch.ru:4200").WithMethods("GET", "POST").WithHeaders("*");
policyBuilder.WithOrigins("https://www.vdk2ch.ru/").WithMethods("GET", "POST").WithHeaders("*");
//policyBuilder.WithOrigins("http://localhost:4200").WithMethods("GET", "POST").WithHeaders("*");
});