mirror of
https://github.com/BarkProductions/barkman.git
synced 2026-06-12 22:11:54 +00:00
added anyheader to coors
This commit is contained in:
@@ -17,7 +17,7 @@ builder.Services.AddCors(options =>
|
||||
options.AddPolicy(name: allowSpecificOrigins,
|
||||
policy =>
|
||||
{
|
||||
policy.WithOrigins("https://barkdev.ts.drewr.io", "http://localhost:5173").AllowAnyMethod();
|
||||
policy.WithOrigins("https://barkdev.ts.drewr.io", "http://localhost:5173").AllowAnyMethod().AllowAnyHeader();
|
||||
});
|
||||
});
|
||||
var app = builder.Build();
|
||||
|
||||
Reference in New Issue
Block a user