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