diff --git a/LiMan.Api/Startup.cs b/LiMan.Api/Startup.cs index bdab739..8bd50b7 100644 --- a/LiMan.Api/Startup.cs +++ b/LiMan.Api/Startup.cs @@ -40,19 +40,20 @@ namespace LiMan.Serv // This method gets called by the runtime. Use this method to configure the HTTP request pipeline. public void Configure(IApplicationBuilder app, IWebHostEnvironment env) { - if (env.IsDevelopment()) + if (env.IsDevelopment() || env.IsStaging()) { app.UseDeveloperExceptionPage(); - } - app.UseSwagger(c => - { - c.RouteTemplate = "/swagger/{documentName}/swagger.json"; - }); - app.UseSwaggerUI(c => - { - c.SwaggerEndpoint("v1/swagger.json", "LiMan.Api"); - }); + // valido solo in sviluppo + app.UseSwagger(c => + { + c.RouteTemplate = "/swagger/{documentName}/swagger.json"; + }); + app.UseSwaggerUI(c => + { + c.SwaggerEndpoint("v1/swagger.json", "LiMan.Api"); + }); + } app.UseHttpsRedirection(); diff --git a/LiMan.Transfer/Resources/ChangeLog.html b/LiMan.Transfer/Resources/ChangeLog.html index c5c3cd9..9585749 100644 --- a/LiMan.Transfer/Resources/ChangeLog.html +++ b/LiMan.Transfer/Resources/ChangeLog.html @@ -1,6 +1,6 @@ License Manager -

Versione: 1.1.2202.1114

+

Versione: 1.1.2203.0218


Note di rilascio: