mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-07-29 00:18:39 +00:00
Fix Game API not working
This commit is contained in:
parent
7e939f8c5f
commit
51b3c72a2f
3 changed files with 3 additions and 10 deletions
15
ProjectLighthouse.GameAPI/Startup/TestGameApiStartup.cs
Normal file
15
ProjectLighthouse.GameAPI/Startup/TestGameApiStartup.cs
Normal file
|
@ -0,0 +1,15 @@
|
|||
using LBPUnion.ProjectLighthouse.Helpers.Middlewares;
|
||||
|
||||
namespace LBPUnion.ProjectLighthouse.Startup;
|
||||
|
||||
public class TestGameApiStartup : GameApiStartup
|
||||
{
|
||||
public TestGameApiStartup(IConfiguration configuration) : base(configuration)
|
||||
{}
|
||||
|
||||
public override void Configure(IApplicationBuilder app, IWebHostEnvironment env)
|
||||
{
|
||||
app.UseMiddleware<FakeRemoteIPAddressMiddleware>();
|
||||
base.Configure(app, env);
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue