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

fix(create-app): change index.html templates' favicon.svg href to absolute URL #2620

Merged
merged 1 commit into from
Apr 4, 2021

Conversation

tianyu94
Copy link
Contributor

@tianyu94 tianyu94 commented Mar 21, 2021

What is the purpose of this pull request?

  • Bug fix
  • New Feature
  • Documentation update
  • Other

Description

Change index.html templates' favicon.svg href to absolute URL href="/src/favicon.svg".

When directly accessing the address of the non-root URL, the favicon cannot be found. (Microsoft Edge Version 89.0.774.57(Official build) (64-bit), but latest Chrome and Firefox are OK)

@antfu antfu changed the title fix: change index.html templates' favicon.svg href to absolute URL fix(create-app): change index.html templates' favicon.svg href to absolute URL Apr 4, 2021
@antfu antfu merged commit 3816f6e into vitejs:main Apr 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants