Skip to content

fetch & env vars with app router & static builds #50759

Closed Answered by bripkens
bripkens asked this question in App Router
Discussion options

You must be logged in to vote

There is now a workaround for this that leverages Next.js' headers and middleware capability to circumvent these current limitations. For more information, see this issue comment.

#50828 (comment)

Replies: 3 comments 28 replies

Comment options

You must be logged in to vote
27 replies
@devjiwonchoi
Comment options

@bripkens
Comment options

@HamAndRock
Comment options

@bripkens
Comment options

@HamAndRock
Comment options

Comment options

You must be logged in to vote
1 reply
@bripkens
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by bripkens
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants