Skip to content

Commit

Permalink
Clean
Browse files Browse the repository at this point in the history
  • Loading branch information
shargon committed Nov 28, 2019
1 parent e81edd6 commit 868c73c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
8 changes: 2 additions & 6 deletions src/TuringMachine/RPC/RpcServer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -84,12 +84,8 @@ public void Start()
.Configure(app =>
{
app.UseResponseCompression();
app
.UseRouting()
.UseEndpoints(endpoints =>
{
endpoints.MapControllers();
});
app.UseRouting();
app.UseEndpoints(endpoints => endpoints.MapControllers());
})
.ConfigureServices(services =>
{
Expand Down
1 change: 0 additions & 1 deletion src/TuringMachine/TuringMachine.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
<PackageReference Include="Microsoft.AspNetCore.Mvc.Core" Version="2.2.5" />
<PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="3.0.0" />
<PackageReference Include="Microsoft.AspNetCore.ResponseCompression" Version="2.2.0" />
<PackageReference Include="Microsoft.AspNetCore.WebSockets" Version="2.2.1" />
</ItemGroup>

<!--Replicate roslyn's version pattern logic https://github.com/dotnet/cli/issues/6923#issuecomment-354095128 -->
Expand Down

0 comments on commit 868c73c

Please sign in to comment.