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