mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-05-05 18:22:27 +00:00
Split project listen urls
This commit is contained in:
parent
4caef5fd63
commit
8cb9abfd3e
6 changed files with 25 additions and 6 deletions
|
@ -3,6 +3,7 @@ using System.Diagnostics;
|
|||
using LBPUnion.ProjectLighthouse.Helpers;
|
||||
using LBPUnion.ProjectLighthouse.Logging;
|
||||
using LBPUnion.ProjectLighthouse.Logging.Loggers;
|
||||
using LBPUnion.ProjectLighthouse.Startup;
|
||||
using LBPUnion.ProjectLighthouse.Types;
|
||||
using LBPUnion.ProjectLighthouse.Types.Settings;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
|
@ -17,6 +18,10 @@ public static class StartupTasks
|
|||
Stopwatch stopwatch = new();
|
||||
stopwatch.Start();
|
||||
|
||||
#if DEBUG
|
||||
DebugWarmupLifetime.ServerType = serverType;
|
||||
#endif
|
||||
|
||||
// Setup logging
|
||||
Logger.AddLogger(new ConsoleLogger());
|
||||
Logger.AddLogger(new LighthouseFileLogger());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue