We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 208e3b3 + a6fbef7 commit 8277eaeCopy full SHA for 8277eae
server/Program.cs
@@ -23,7 +23,7 @@ public static void Main(string[] args)
23
// --------------------- CORS POLICY ------------------------------
24
builder.Services.AddCors(options =>
25
{
26
- options.AddPolicy("AllowSpecificOrigin", b => b.WithOrigins("https://andrewtest.org").AllowAnyHeader().AllowAnyMethod());
+ options.AddPolicy("AllowSpecificOrigin", b => b.WithOrigins("http://127.0.0.1:8080").AllowAnyHeader().AllowAnyMethod());
27
});
28
29
// Add services to the container.
0 commit comments