feat: api 改为小写
This commit is contained in:
parent
52a69ec511
commit
75716a9444
|
@ -6,6 +6,7 @@ var builder = WebApplication.CreateBuilder(args);
|
|||
|
||||
// Configure the service container.
|
||||
builder.Services.AddControllers();
|
||||
builder.Services.AddRouting(s => s.LowercaseUrls = true);
|
||||
builder.Services.AddEndpointsApiExplorer();
|
||||
builder.Services.AddSwaggerGen(options =>
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue