From f550aca7f715c908895ca41b4c33a13f71cf591d Mon Sep 17 00:00:00 2001 From: syntax24 Date: Sat, 19 Jul 2025 18:25:53 +0330 Subject: [PATCH] add client cors --- ServiceHost/Program.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ServiceHost/Program.cs b/ServiceHost/Program.cs index 0f5f7853..3dc3b092 100644 --- a/ServiceHost/Program.cs +++ b/ServiceHost/Program.cs @@ -269,7 +269,9 @@ builder.Services.AddCors(options => "https://gozareshgir.ir", "https://dad-mehr.ir", "https://admin.dad-mehr.ir", - "https://admin.gozareshgir.ir" + "https://client.dad-mehr.ir", + "https://admin.gozareshgir.ir", + "https://client.gozareshgir.ir" ) .AllowAnyHeader() .AllowAnyMethod()