update docker file

This commit is contained in:
Artemy
2025-11-04 12:49:41 +07:00
parent e6f7292bab
commit b1e8cc83b2
10 changed files with 24 additions and 13 deletions
+7 -7
View File
@@ -22,12 +22,12 @@ builder.Services.AddCors(options =>
policy.WithOrigins(
"https://localhost:7155",
"http://localhost:7155",
"https://govor-team-govor-8ce1.twc1.net",
"https://govor-team-govor-8ce1.twc1.net",
"http://govor-team-govor-8ce1.twc1.net"
)
.AllowAnyHeader()
.AllowAnyMethod()
.AllowCredentials();
)
.AllowAnyHeader()
.AllowAnyMethod()
.AllowCredentials();
});
});
@@ -109,10 +109,10 @@ builder.Services.AddSwaggerGen(options =>
var app = builder.Build();
// Configure the HTTP request pipeline.
if (app.Environment.IsDevelopment())
if (!app.Environment.IsDevelopment())
{
//app.MapOpenApi();
builder.WebHost.UseUrls("http://0.0.0.0:8080");
}
app.UseSwagger();
Binary file not shown.

Before

Width:  |  Height:  |  Size: 691 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 138 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 314 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 138 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 480 KiB