Skip to content

Getting 404 on static resources in production #33751

Answered by bmarshall511
bmarshall511 asked this question in Help
Discussion options

You must be logged in to vote

Figured it out, had to with how Github pages work. Basically need to add a .nojekyll file in the out folder to tell Git to serve the _next files. See https://stackoverflow.com/questions/61450307/js-and-css-not-loading-when-hosting-next-application-on-github-pages

Replies: 4 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by bmarshall511
Comment options

You must be logged in to vote
1 reply
@Ran-sy
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
5 participants