forked from ddrilling/AsbCloudServer
Добавлен .AllowOrigins() в Startup.cs
This commit is contained in:
parent
dfdfeff32e
commit
75ea100186
@ -35,8 +35,10 @@ namespace AsbCloudWebApi
|
|||||||
{
|
{
|
||||||
policy.AllowAnyHeader()
|
policy.AllowAnyHeader()
|
||||||
.AllowAnyMethod()
|
.AllowAnyMethod()
|
||||||
.WithOrigins("http://localhost:3000")
|
.AllowAnyOrigin()
|
||||||
.AllowCredentials();
|
//.WithOrigins("http://localhost:3000")
|
||||||
|
//.AllowCredentials()
|
||||||
|
;
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user