Skip to content

Commit 67bb4db

Browse files
Merge pull request #37 from Star-Academy/customException
fix:fix the cors
2 parents 3b646af + f6661cb commit 67bb4db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mohaymen-codestar-Team02/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
options.AddPolicy("AllowSpecificOrigins",
1111
builder =>
1212
{
13-
builder.WithOrigins("http://localhost:4200", "https://codestar-g2.abriment.com/")
13+
builder.WithOrigins("http://localhost:4200", "https://codestar-g2.abriment.com")
1414
.AllowAnyHeader()
1515
.AllowAnyMethod()
1616
.AllowCredentials();

0 commit comments

Comments
 (0)