diff --git a/Libraries/SPTarkov.Server.Web/SPTWeb.cs b/Libraries/SPTarkov.Server.Web/SPTWeb.cs index afc034c6..cb08fdf7 100644 --- a/Libraries/SPTarkov.Server.Web/SPTWeb.cs +++ b/Libraries/SPTarkov.Server.Web/SPTWeb.cs @@ -30,14 +30,8 @@ public static class SPTWeb var logger = app.Services.GetRequiredService>(); app.UseAntiforgery(); - -#if DEBUG - //MS currently has a bug where streaming video doesn't work properly in debug, unless you use this - //Issue: https://github.com/dotnet/aspnetcore/issues/63320 app.UseStaticFiles(); -#else - app.MapStaticAssets(); -#endif + var razorBuilder = app.MapRazorComponents().AddInteractiveServerRenderMode(); foreach (var mod in SptWebMods)