fix: try disable origins
This commit is contained in:
parent
80b46754ad
commit
3326b17d74
@ -60,9 +60,8 @@ public class Program
|
|||||||
{
|
{
|
||||||
options.AddPolicy("AllowAll", policy =>
|
options.AddPolicy("AllowAll", policy =>
|
||||||
{
|
{
|
||||||
policy.AllowAnyHeader();
|
|
||||||
policy.AllowAnyMethod();
|
policy.AllowAnyMethod();
|
||||||
policy.WithOrigins("http://localhost:4200");
|
policy.AllowAnyHeader();
|
||||||
policy.AllowCredentials();
|
policy.AllowCredentials();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user