Prefix apple-touch-icon links with PUBLIC_URL#8005
Prefix apple-touch-icon links with PUBLIC_URL#8005mrmckeb merged 1 commit intofacebook:masterfrom benblank:public-touch-icon
Conversation
mrmckeb
left a comment
There was a problem hiding this comment.
I'm OK with this, but I thought that this worked without the full URL (it resolves to the same path)?
@ianschmitz @iansu any thoughts?
|
Being consistent with the favicon makes sense to me. |
It's a heck of a corner case, but say you have 1 Such as on an Azure Functions host, where you have to individually alias files in the root (to avoid also aliasing |
The link for apple-touch-icon is the only URL in the templates'
index.htmls that is relative, rather than using the%PUBLIC_URL%prefix.Having all URLs in
index.htmlbe absolute makes it possible to host the site in one URL and aliasindex.htmlfrom another. This is helpful, for example, when proxying a site into an Azure Functions domain.