Skip to content

Dockerfile no longer copies root /favicon.ico #2

Description

@kphunter

Dockerfile:R23-24

The old Dockerfile had an explicit COPY favicon.ico /usr/share/nginx/html/ which placed the favicon at the web root. The new Dockerfile removes this line. All HTML pages reference href="assets/favicon.ico" (a relative path that resolves to /assets/favicon.ico), and the build process (gulpfile.mjs:46-48 copyAssets) copies assets/favicon.ico into dist/assets/. So the favicon still works for page loads. However, browsers typically also make an automatic request to /favicon.ico at the root (independent of <link> tags), which will now 404. This generates noise in error logs and browser dev tools but doesn't affect user-visible functionality since the explicit <link> tag takes precedence.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions