You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Provide assetPrefix props for next/link component.
Additional context
This feature is needed in case we have multiple NextJS apps on the same domain with different assetPrefix .
Note that, even page urls are on the same domain, assetPrefix might be on different CDN host.
The text was updated successfully, but these errors were encountered:
#4998 doesn't solve my issue.
In my case, each assetPrefix is a full CDN domain , like https://cdn-1.cdn.com/project1 . The Link component has no knowledge about the domain of NextJS application is being served.
@revskill10 I'm sure you mean the same problem / feature though. If not please write up a more detailed issue about what you're trying to solve, because it sounds like you want the exact same solution, being able to link to a specific subpath.
lockbot
locked as resolved and limited conversation to collaborators
Jan 30, 2020
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Feature request
Support
assetPrefix
withnext/link
component.Describe the solution you'd like
Provide
assetPrefix
props fornext/link
component.Additional context
This feature is needed in case we have multiple NextJS apps on the same domain with different
assetPrefix
.Note that, even page urls are on the same domain,
assetPrefix
might be on different CDN host.The text was updated successfully, but these errors were encountered: