Browse Source
Merge pull request #2348 from liangshiw/dev
Remove obsolete code
pull/2349/head
maliming
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
5 deletions
-
modules/docs/app/VoloDocs.Web/VoloDocsWebModule.cs
|
|
|
@ -154,11 +154,7 @@ namespace VoloDocs.Web |
|
|
|
app.UseAbpRequestLocalization(); |
|
|
|
|
|
|
|
app.UseStatusCodePagesWithReExecute("/error/{0}"); |
|
|
|
//https://github.com/aspnet/AspNetCore/issues/13715#issuecomment-528929683
|
|
|
|
app.Use((context, next) => { |
|
|
|
context.SetEndpoint(null); |
|
|
|
return next(); |
|
|
|
}); |
|
|
|
|
|
|
|
//app.UseMiddleware<GlobalExceptionHandlerMiddleware>();
|
|
|
|
|
|
|
|
app.UseMvc(routes => |
|
|
|
|