Skip to content

The location of the apple-icon in the doc is not working properly. #52579

@newminkyung

Description

@newminkyung

Verify canary release

  • I verified that the issue exists in the latest Next.js canary release

Provide environment information

Operating System:
      Platform: darwin
      Arch: x64
      Version: Darwin Kernel Version 21.6.0: Mon Aug 22 20:17:10 PDT 2022; root:xnu-8020.140.49~2/RELEASE_X86_64
    Binaries:
      Node: 16.16.0
      npm: 8.11.0
      Yarn: 1.22.17
      pnpm: 8.4.0
    Relevant packages:
      next: 13.4.1
      eslint-config-next: 13.4.1
      react: 18.2.0
      react-dom: 18.2.0

Which area(s) of Next.js are affected? (leave empty if unsure)

Metadata (metadata, generateMetadata, next/head)

Link to the code that reproduces this issue or a replay of the bug

https://codesandbox.io/p/sandbox/unruffled-darkness-q2l3ht

To Reproduce

  1. locate apple-icon.png in /app
    • It works well
  2. locate apple-icon.png in /app/**/apple-icon.png
    • It doesn't work

스크린샷 2023-07-12 오후 1 49 18

can't see apple-touch-icon

But in docs (https://nextjs.org/docs/app/api-reference/file-conventions/metadata/app-icons#image-files-ico-jpg-png)
image

apple-icon is valid on app/**/*

Describe the Bug

The location of the apple-icon in the document in Next.js is not working properly.

/app/apple-icon.png works fine, but /app/icons/apple-icon.png does not work properly.

Expected Behavior

apple-icon is valid on app/**/*

Which browser are you using? (if relevant)

Chrome 114.0.5735.198

How are you deploying your application? (if relevant)

next start

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIssue was opened via the bug report template.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions