question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Missing link to icon file for web top level

See original GitHub issue

Where to find the issue

https://www.coronawarn.app/index.html

Describe the issue

Running https://www.deadlinkchecker.com on https://www.coronawarn.app produces the error

Error URL Anchor Text Linked From
403 Forbidden https://www.coronawarn.app/assets/img/icons/ link/href https://www.coronawarn.app

Analysis

https://www.coronawarn.app/index.html includes the following HTML code

<link
  rel="icon"
  type="image/png"
  sizes="32x32"
  href="/assets/img/icons/"
/>

which is generated from src\layouts\redirect.html

The name of the icon file is missing.

Suggested change

Change LN14 of src\layouts\redirect.html https://github.com/corona-warn-app/cwa-website/blob/557237207948549bf46188229f9f8042c0a48ed2/src/layouts/redirect.html#L14 from href="{{root}}{{global.favicon.url}}" to href="{{root}}{{global.favicon.url}}{{global.favicon.name}}-32x32.png"

This generates

href="/assets/img/icons/favicon-32x32.png"

which points to the existing icon https://www.coronawarn.app/assets/img/icons/favicon-32x32.png

Reference

https://html.spec.whatwg.org/multipage/links.html#rel-icon

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
MikeMcC399commented, Oct 11, 2021

PR #1853 has resolved this issue.

https://www.deadlinkchecker.com applied to https://www.coronawarn.app with the option “Check single webpage” returns

https://www.coronawarn.app
100% scanned - 3/3 URLs checked, 3 OK
Scan completed with no errors!

Thanks to @dsarkar!

1reaction
dsarkarcommented, Oct 11, 2021

@MikeMcC399 Thanks a lot, your PR was merged.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Fix the Favicon Not Showing Up Issue - Sitechecker
A missing icon is not as serious as a 404 error. But it requires attention as well. Favicon URL is indexed by the...
Read more >
Favicon Not Showing Up - How to Fix In Chrome, Wordpress ...
The link to create the favicon is not in the right location. Your favicon's file name ... Upload the favicon.ico file to the...
Read more >
Fastest Way to Find Missing Links | CreativePro Network
Gah! Start by selecting any one missing link, and then choosing Relink… from the Links panel menu. You don't need to write down...
Read more >
7 Missing Link Icons - Free in SVG, PNG, ICO - IconScout
Download 7 Missing Link Vector Icons for commercial and personal use. Available for free or premium in line, flat, gradient, isometric, glyph, ...
Read more >
The Missing LNK — Correlating User Search LNK files
Forensic investigators use LNK shortcut files to recover metadata about recently accessed ... Share name: \\<hostname>\<top level folder>
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found