mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-07-31 09:18:38 +00:00
Update debug build warning
This commit is contained in:
parent
5e660fae18
commit
3b63a5e21c
2 changed files with 4 additions and 3 deletions
|
@ -56,7 +56,7 @@ namespace LBPUnion.ProjectLighthouse
|
|||
#if DEBUG
|
||||
Logger.Log
|
||||
(
|
||||
"This is a debug build. Performance may vary with a release build. " +
|
||||
"This is a debug build, so performance may suffer! " +
|
||||
"If you are running Lighthouse in a production environment, " +
|
||||
"it is highly recommended to run a release build. ",
|
||||
LoggerLevelStartup.Instance
|
||||
|
|
|
@ -11,7 +11,6 @@ using Microsoft.AspNetCore.Http;
|
|||
using Microsoft.AspNetCore.HttpOverrides;
|
||||
using Microsoft.Extensions.Configuration;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
using Microsoft.Extensions.Hosting;
|
||||
using Microsoft.Extensions.Primitives;
|
||||
|
||||
namespace LBPUnion.ProjectLighthouse
|
||||
|
@ -71,7 +70,9 @@ namespace LBPUnion.ProjectLighthouse
|
|||
computeDigests = false;
|
||||
}
|
||||
|
||||
if (env.IsDevelopment()) app.UseDeveloperExceptionPage();
|
||||
#if DEBUG
|
||||
app.UseDeveloperExceptionPage();
|
||||
#endif
|
||||
|
||||
app.UseForwardedHeaders();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue