thierryc / Next-gh-page-example

Next.js gh-pages example
https://thierryc.github.io/Next-gh-page-example/
76 stars 36 forks source link

Add a .nojekyll file in gh-pages branch #3

Closed timtorChen closed 4 years ago

timtorChen commented 4 years ago

I found the example repo got the same issue as I just faced. Github pages is powered by Jekyll, and Jekyll do not serve any folder start with _ , as the result we got 404 when loading any resource in _next folder. Maybe you can resolve the error by adding a .nojekyll file in gh-pages branch.

image

jamesplease commented 4 years ago

This issue is resolved by #5