From 1b3dffc78395c8d73a5fb7d719cd2cc61c37af55 Mon Sep 17 00:00:00 2001 From: wanggang <76527413@qq.com> Date: Tue, 5 Jan 2021 09:38:05 +0800 Subject: [PATCH] update Former-commit-id: fa5d04a82485ac265904c809a110b0d84a0c0c65 Former-commit-id: f41898bf34d00d3375d81bd3ecdc1db554f41df1 --- labs/Teacher/TeacherExt/Startup.cs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/labs/Teacher/TeacherExt/Startup.cs b/labs/Teacher/TeacherExt/Startup.cs index 7cdb137d..68b7f0a7 100644 --- a/labs/Teacher/TeacherExt/Startup.cs +++ b/labs/Teacher/TeacherExt/Startup.cs @@ -157,10 +157,6 @@ namespace TeacherExt public void Configure(IApplicationBuilder app, IWebHostEnvironment env) { - if (env.IsDevelopment()) - { - app.UseDeveloperExceptionPage(); - } app.UseSwagger(); app.UseSwaggerUI(c => {