...
This commit is contained in:
@@ -6,6 +6,7 @@ using Back.Services;
|
||||
using Back.Validations;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Microsoft.IdentityModel.Tokens;
|
||||
using Microsoft.Net.Http.Headers;
|
||||
using Microsoft.OpenApi.Models;
|
||||
using System.Text;
|
||||
using TaxPayer.Infrastructure.Persistence;
|
||||
@@ -85,6 +86,7 @@ builder.Services.AddCors(options =>
|
||||
{
|
||||
policy.WithOrigins("https://localhost:7224", "http://localhost:5107")
|
||||
.AllowAnyHeader()
|
||||
.WithHeaders(HeaderNames.ContentType)
|
||||
.AllowAnyMethod();
|
||||
});
|
||||
});
|
||||
|
Reference in New Issue
Block a user