From fdca0d68b1f4bdb8645d118210886d81a464a293 Mon Sep 17 00:00:00 2001 From: Drew Rautenberg <8411007+DrewRautenberg@users.noreply.github.com> Date: Sun, 4 May 2025 15:38:44 -0500 Subject: [PATCH] Update coors --- barkmanAPI/Program.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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();