Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BrowserConsoleLogger to handle different routing #68

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

object71
Copy link

@object71 object71 commented Apr 2, 2022

In some cases the current solution produces an error trying to import the js file. In my case that was a simple blazor router where when I visit a route for example "/counter" it would try to import the script from "/counter_content/Blazor.Extensions.Logging/BrowserConsoleLogger.js". Using the navigation manager for the other case where the blazor app might be hosted in a route different than the root of the website.

In some cases the current solution produces an error trying to import the js file. In my case that was a simple blazor router where when I visit a route for example "/counter" it would try to import the script from "/counter_content/Blazor.Extensions.Logging/BrowserConsoleLogger.js". Using the navigation manager for the other case where the blazor app might be hosted in a route different than the root of the website.
@object71
Copy link
Author

object71 commented Apr 5, 2022

@attilah You should be the mainteiner of this repository. Could you take a look at my changes?

@object71
Copy link
Author

@galvesribeiro Maybe you can take a look?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant