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

CSS in the head is being called twice #7

Open
EstebanAdao opened this issue Aug 20, 2020 · 1 comment
Open

CSS in the head is being called twice #7

EstebanAdao opened this issue Aug 20, 2020 · 1 comment

Comments

@EstebanAdao
Copy link

Hi jsakamoto!

I'm using the server side prerendering for my site Blazor Server App.

Everything works Ok until I do the following, let me explain the situation

The error happens when I update the page in the browser, then I go to the next screen and the title and description change ok but it also reloads the css again and the css route changes.

For example:
the route of my css is www.siteBlazor.com/subdomain/css/main.min.css (By default in normal situation)

So, I refresh the page and it continues showing the previous route ("www.siteBlazor.com/subdomain/css/main.min.css"),
but when I go to the next page everything that is on the head changes to the tags being updated but at the same time it also changes the css route to "www.siteBlazor.com/subdomain/subdomain/css/main.min.css"

This generates an error because that route does not exist.

Can you help me?

Thank You,
Regards,
Esteban

@jsakamoto
Copy link
Owner

Thank you for your report.

Could you attach a sample project that can reproduce the problem to this thread?

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

No branches or pull requests

2 participants