Skip to content

Commit

Permalink
OKOK,第一个上线版本(赶鸭子上架)
Browse files Browse the repository at this point in the history
  • Loading branch information
Deali-Axy committed Jan 24, 2022
1 parent d0549a4 commit 8dea0f2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion CrawlCenter.Web/CrawlCenter.Web.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
<ItemGroup>
<PackageReference Include="AutoMapper" Version="10.1.1" />
<PackageReference Include="AutoMapper.Extensions.Microsoft.DependencyInjection" Version="8.1.1" />
<PackageReference Include="dotnetCampus.PublishFolderCleaner" Version="3.3.0" />
<PackageReference Include="Exceptionless.AspNetCore" Version="4.6.2" />
<PackageReference Include="Hangfire" Version="1.7.23" />
<PackageReference Include="Hangfire.MySqlStorage" Version="2.0.3" />
Expand Down
3 changes: 2 additions & 1 deletion CrawlCenter.Web/Startup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
using CrawlCenter.Web.Middlewares;
using Exceptionless;
using Hangfire;
using Hangfire.Dashboard;
using IGeekFan.AspNetCore.Knife4jUI;
using IGeekFan.AspNetCore.RapiDoc;
using Microsoft.AspNetCore.Builder;
Expand Down Expand Up @@ -54,7 +55,7 @@ public void ConfigureServices(IServiceCollection services) {
// This method gets called by the runtime. Use this method to configure the HTTP request pipeline.
public void Configure(IApplicationBuilder app, IWebHostEnvironment env) {
app.UseExceptionless();
app.UseMiddleware<PrintRequestMiddleware>();
// app.UseMiddleware<PrintRequestMiddleware>();

if (env.IsDevelopment()) {
app.UseDeveloperExceptionPage();
Expand Down

0 comments on commit 8dea0f2

Please sign in to comment.