mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-08-02 01:58:40 +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
|
#if DEBUG
|
||||||
Logger.Log
|
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, " +
|
"If you are running Lighthouse in a production environment, " +
|
||||||
"it is highly recommended to run a release build. ",
|
"it is highly recommended to run a release build. ",
|
||||||
LoggerLevelStartup.Instance
|
LoggerLevelStartup.Instance
|
||||||
|
|
|
@ -11,7 +11,6 @@ using Microsoft.AspNetCore.Http;
|
||||||
using Microsoft.AspNetCore.HttpOverrides;
|
using Microsoft.AspNetCore.HttpOverrides;
|
||||||
using Microsoft.Extensions.Configuration;
|
using Microsoft.Extensions.Configuration;
|
||||||
using Microsoft.Extensions.DependencyInjection;
|
using Microsoft.Extensions.DependencyInjection;
|
||||||
using Microsoft.Extensions.Hosting;
|
|
||||||
using Microsoft.Extensions.Primitives;
|
using Microsoft.Extensions.Primitives;
|
||||||
|
|
||||||
namespace LBPUnion.ProjectLighthouse
|
namespace LBPUnion.ProjectLighthouse
|
||||||
|
@ -71,7 +70,9 @@ namespace LBPUnion.ProjectLighthouse
|
||||||
computeDigests = false;
|
computeDigests = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (env.IsDevelopment()) app.UseDeveloperExceptionPage();
|
#if DEBUG
|
||||||
|
app.UseDeveloperExceptionPage();
|
||||||
|
#endif
|
||||||
|
|
||||||
app.UseForwardedHeaders();
|
app.UseForwardedHeaders();
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue