Skip to content

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

Merged
antfu merged 1 commit into
vitejs:mainfrom
tianyu94:main
Apr 4, 2021
Merged

fix(create-app): change index.html templates' favicon.svg href to absolute URL#2620
antfu merged 1 commit into
vitejs:mainfrom
tianyu94:main

Conversation

@tianyu94

@tianyu94 tianyu94 commented Mar 21, 2021

Copy link
Copy Markdown
Contributor

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

4 participants