@@ -33,19 +33,9 @@ builder.Services.AddSingleton<ISqlSugarClient>(s =>
});
var app = builder.Build();
-
-// Configure the HTTP request pipeline.
-//if (app.Environment.IsDevelopment())
-//{
-// app.UseSwagger();
-// app.UseSwaggerUI();
-//}
app.UseSwagger();
app.UseSwaggerUI();
app.UseHttpsRedirection();
app.UseAuthorization();
app.MapControllers();
app.Run();
@@ -9,9 +9,8 @@
"Kestrel": {
"EndPoints": {
"Http": {
- "Url": "http://localhost:8081"
+ "Url": "http://localhost:8080"
}
//"Https": {
// "Url": "https://localhost:8082"
//}