mirror of
https://github.com/BarkProductions/barkman.git
synced 2026-06-13 06:11:55 +00:00
Update coors
This commit is contained in:
@@ -24,7 +24,7 @@ builder.Services.AddCors(options =>
|
||||
options.AddPolicy(name: allowSpecificOrigins,
|
||||
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();
|
||||
});
|
||||
});
|
||||
@@ -171,4 +171,4 @@ using (var serviceScope = app.Services.CreateScope())
|
||||
|
||||
app.UseCors(allowSpecificOrigins);
|
||||
|
||||
app.Run();
|
||||
app.Run();
|
||||
|
||||
Reference in New Issue
Block a user