mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
resolve some AppInsights errors
This commit is contained in:
parent
8f5efc93ff
commit
bd09787780
2 changed files with 2 additions and 4 deletions
|
|
@ -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) =>
|
||||
|
|
|
|||
|
|
@ -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 }/>
|
||||
|
|
|
|||
Loading…
Reference in a new issue