Skip to content

Commit 483ccb7

Browse files
authored
Merge pull request #23 from barzin144/fix-cors-apply
fixed cors apply
2 parents 7276a53 + 8f5ce9e commit 483ccb7

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

IoCConfig/ConfigureServicesExtensions.cs

-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ public static void AddCustomCors(this IServiceCollection services, IConfiguratio
2727
.WithOrigins(configuration["Cors:Origins"])
2828
.AllowAnyMethod()
2929
.AllowAnyHeader()
30-
.SetIsOriginAllowed((host) => true)
3130
.AllowCredentials()
3231
));
3332
}

0 commit comments

Comments
 (0)