Skip to content

Commit

Permalink
Merge pull request #42 from Etherna/improve/ECS-65-disable-cors-wildcard
Browse files Browse the repository at this point in the history
disable cors wildcard
  • Loading branch information
tmm360 authored Feb 27, 2022
2 parents b4211e8 + 6afb7cf commit 3bb4975
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/EthernaCredit/Startup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -326,8 +326,7 @@ public void Configure(IApplicationBuilder app, IApiVersionDescriptionProvider ap
}
else
{
builder.WithOrigins("https://*.etherna.io")
.SetIsOriginAllowedToAllowWildcardSubdomains()
builder.WithOrigins("https://app.etherna.io")
.AllowAnyHeader()
.AllowAnyMethod()
.AllowCredentials();
Expand Down

0 comments on commit 3bb4975

Please sign in to comment.