瀏覽代碼

调整

develop
H Vs 6 月之前
父節點
當前提交
50c61040bf
共有 1 個檔案被更改,包括 8 行新增5 行删除
  1. +8
    -5
      TelpoKafkaConsole.WebApi/Program.cs

+ 8
- 5
TelpoKafkaConsole.WebApi/Program.cs 查看文件

@@ -47,11 +47,14 @@ namespace TelpoKafkaConsole.WebApi
var app = builder.Build();

// Configure the HTTP request pipeline.
if (app.Environment.IsDevelopment())
{
app.UseSwagger();
app.UseSwaggerUI();
}
//if (app.Environment.IsDevelopment())
//{
// app.UseSwagger();
// app.UseSwaggerUI();
//}

app.UseSwagger();
app.UseSwaggerUI();

app.UseAuthorization();



Loading…
取消
儲存