Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Link tag for file-based manifest not added to head element #48105

Closed
1 task done
glennreyes opened this issue Apr 7, 2023 · 2 comments
Closed
1 task done

Link tag for file-based manifest not added to head element #48105

glennreyes opened this issue Apr 7, 2023 · 2 comments
Labels
bug Issue was opened via the bug report template. Metadata Related to Next.js' Metadata API.

Comments

@glennreyes
Copy link

Verify canary release

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

Provide environment information

Operating System:
      Platform: darwin
      Arch: arm64
      Version: Darwin Kernel Version 22.3.0: Mon Jan 30 20:38:37 PST 2023; root:xnu-8792.81.3~2/RELEASE_ARM64_T6000
    Binaries:
      Node: 19.8.1
      npm: 9.5.1
      Yarn: 1.22.19
      pnpm: 8.1.1
    Relevant packages:
      next: 13.3.1-canary.2
      eslint-config-next: 13.3.0
      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, head.js)

Link to the code that reproduces this issue

https://github.com/glennreyes/my-next-manifest-app

To Reproduce

  1. Go to https://my-next-manifest-app.vercel.app/
  2. Check element tree
  3. <link rel="manifest" href="/manifest.webmanifest"> non-existent although it's configured in app/manifest.ts and accessible via https://my-next-manifest-app.vercel.app/manifest.webmanifest

Describe the Bug

The link tag for manifest is not automatically added to the head element, when a file-based manifest is configured.

Expected Behavior

The link tag for manifest is automatically added to the head element, when a file-based manifest is configured.

Which browser are you using? (if relevant)

Brave Version 1.50.114 Chromium: 112.0.5615.49 (Official Build) (arm64)

How are you deploying your application? (if relevant)

Vercel

@glennreyes glennreyes added the bug Issue was opened via the bug report template. label Apr 7, 2023
@github-actions github-actions bot added the Metadata Related to Next.js' Metadata API. label Apr 7, 2023
@huozhi
Copy link
Member

huozhi commented May 5, 2023

Thanks for reporting! This is already fixed by #48310, and please upgrade to the latest version 🙏

@huozhi huozhi closed this as completed May 5, 2023
@github-actions
Copy link
Contributor

github-actions bot commented Jun 4, 2023

This closed issue has been automatically locked because it had no new activity for a month. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 4, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue was opened via the bug report template. Metadata Related to Next.js' Metadata API.
Projects
None yet
Development

No branches or pull requests

2 participants