Skip to content

Commit

Permalink
Merge pull request #20 from Ali-YousefiTelori/develop
Browse files Browse the repository at this point in the history
remove site cors
  • Loading branch information
Ali-YousefiTelori authored Jan 12, 2024
2 parents 41750a0 + a269698 commit 5fb6221
Showing 1 changed file with 1 addition and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,7 @@ public static async Task Main(string[] args)
var app = CreateBuilder(args);
var build = await app.BuildWithUseCors<IdentityContext>((options) =>
{
AddCors(options,
"adahmsay.ir",
"appgenadmin.adahmsay.ir",
"contractgenerator.ir",
"appgenadmin.contractgenerator.ir",
"avalong.signalgo.ir",
"signalgo.ir",
"localhost");

}, true);

build.MapControllers();
Expand Down

0 comments on commit 5fb6221

Please sign in to comment.