This commit is contained in:
mmrbnjd
2025-10-18 18:04:58 +03:30
parent bca445db1a
commit 93dcaa65f0
10 changed files with 40 additions and 89 deletions

View File

@@ -104,11 +104,9 @@ builder.Services.AddCors(options =>
options.AddPolicy(origins,
policy =>
{
policy.AllowAnyOrigin()
//.WithOrigins("https://localhost:7224", "http://localhost:5107"
// , "http://195.88.208.142", "http://moadiran.ir"
// , "https://195.88.208.142", "http://156.255.1.229:3101"
//, "https://195.88.208.142:440", "http://156.255.1.229:3101:440", "https://localhost:44346")
policy
//.AllowAnyOrigin()
.WithOrigins("https://app.moadiran.ir", "https://moadiran.ir", "http://156.255.1.229:3101", "http://156.255.1.229:3102/")
.AllowAnyHeader()
.WithHeaders(HeaderNames.ContentType)
.AllowAnyMethod();

View File

@@ -1,17 +0,0 @@
{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft.AspNetCore": "Warning"
}
},
"ConnectionStrings": {
"Base": "Data Source=195.88.208.142;Initial Catalog=TaxPayer020713;User ID=sa;Password=M439610m@;TrustServerCertificate=True"
},
"Fixedvalues": {
"Jwt_Lifetime_Minutes": "144000"
},
"CreateReportFileName": "E:\\CreateReport\\CreateReport.exe",
"ReportLog": "E:\\Report\\log.txt"
}

View File

@@ -1,17 +0,0 @@
{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft.AspNetCore": "Warning"
}
},
"ConnectionStrings": {
"Base": "Data Source=.;Initial Catalog=TaxPayer020713;User ID=sa;Password=M439610m@;TrustServerCertificate=True"
},
"Fixedvalues": {
"Jwt_Lifetime_Minutes": "144000"
},
"CreateReportFileName": "E:\\CreateReport\\CreateReport.exe",
"ReportLog": "E:\\Report\\log.txt"
}