fix: update CORS policy and add CorsOrigins to configuration #5
This commit is contained in:
@@ -14,5 +14,7 @@
|
||||
"Microsoft.AspNetCore": "Warning"
|
||||
}
|
||||
},
|
||||
"AllowedHosts": "*"
|
||||
"AllowedHosts": "localhost",
|
||||
"CorsOrigins": "https://localhost:5001,http://localhost:4200,http://localhost:5000"
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user