resolve some AppInsights errors

This commit is contained in:
Collin M. Barrett 2019-06-29 11:43:06 -05:00
parent 8f5efc93ff
commit bd09787780
2 changed files with 2 additions and 4 deletions

View file

@ -1,5 +1,4 @@
using Microsoft.ApplicationInsights.Extensibility.Implementation;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.DependencyInjection;
@ -17,7 +16,6 @@ public static void AddFilterListsApi(this IServiceCollection services)
services.AddMvcCustom();
services.AddRoutingCustom();
services.AddApiVersioning();
TelemetryDebugWriter.IsTracingDisabled = true;
}
private static void ConfigureCookiePolicy(this IServiceCollection services) =>

View file

@ -6,7 +6,7 @@ import * as RoutesModule from "./Routes";
let routes = RoutesModule.Routes;
const renderApp = () => {
const baseUrl = document.getElementsByTagName("base")[0].getAttribute("href")!;
const baseUrl = document.getElementsByTagName("base")[0].getAttribute("href");
ReactDOM.render(
<AppContainer>
<BrowserRouter children={ routes } basename={ baseUrl }/>