diff --git a/Back/Program.cs b/Back/Program.cs index e78cca4..39c33e8 100644 --- a/Back/Program.cs +++ b/Back/Program.cs @@ -91,7 +91,9 @@ builder.Services.AddCors(options => options.AddPolicy(origins, policy => { - policy.WithOrigins("https://localhost:7224", "http://localhost:5107", "http://195.88.208.142", "http://moadiran.ir") + policy.WithOrigins("https://localhost:7224", "http://localhost:5107" + , "http://195.88.208.142", "http://moadiran.ir" + , "https://195.88.208.142", "https://moadiran.ir") .AllowAnyHeader() .WithHeaders(HeaderNames.ContentType) .AllowAnyMethod();