IvanJosipovic / BlazorApplicationInsights

Application Insights for Blazor web applications

Home Page:https://BlazorApplicationInsights.netlify.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Injection of the _content/BlazorApplicationInsights script fails when app is configured to serve static files from a folder

GZidar opened this issue · comments

Need a way to specify a value to prepend to the script location allow for the case where blazor server is configured something for UseStaticFiles. E.g.

app.UseStaticFiles("/assets");

Without this the JS file is not found and telemetry set up fails.