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

Adding hreflang as examples removes link preloads #1591

Closed
3 tasks done
andershagbard opened this issue Dec 3, 2024 · 1 comment
Closed
3 tasks done

Adding hreflang as examples removes link preloads #1591

andershagbard opened this issue Dec 3, 2024 · 1 comment
Labels
bug Something isn't working unconfirmed Needs triage.

Comments

@andershagbard
Copy link

Description

Using this library, and having it set the hreflang link header, unsets/doesnt set the preload link header from Next.js when you import CSS and fonts.

Verifications

Mandatory reproduction URL

https://next-intl-example-app-router.vercel.app/en

Reproduction description

Check response headers

Expected behaviour

I would expect CSS and Font links to be added to the preload Link header

@andershagbard andershagbard added bug Something isn't working unconfirmed Needs triage. labels Dec 3, 2024
@amannn
Copy link
Owner

amannn commented Dec 3, 2024

This is a duplicate of #1442. I've created a PR yesterday over at the Next.js repo: vercel/next.js#73431

@amannn amannn closed this as completed Dec 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working unconfirmed Needs triage.
Projects
None yet
Development

No branches or pull requests

2 participants