diff --git a/barkmanAPI/Program.cs b/barkmanAPI/Program.cs index 5ede613..06b051d 100644 --- a/barkmanAPI/Program.cs +++ b/barkmanAPI/Program.cs @@ -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(); \ No newline at end of file +app.Run();