Skip to content

Commit

Permalink
Update "how gatsby works" documentation (#243)
Browse files Browse the repository at this point in the history
* Add a note about CNAME file in `static`
  • Loading branch information
nathanbirrell committed Apr 29, 2018
1 parent c9d96d6 commit 78d348a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/docs/how-gatsby-works-with-github-pages.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,4 @@ After running `npm run deploy` you should see your website at `http://username.g

## Custom domains

If you use a [custom domain](https://help.github.com/articles/using-a-custom-domain-with-github-pages/), don't add a `pathPrefix` as it will break navigation on your site. Path prefixing is only necessary when the site is _not_ at the root of the domain like with repository sites.
If you use a [custom domain](https://help.github.com/articles/using-a-custom-domain-with-github-pages/), don't add a `pathPrefix` as it will break navigation on your site. Path prefixing is only necessary when the site is _not_ at the root of the domain like with repository sites. Also don't forget to add your [CNAME](https://help.github.com/articles/troubleshooting-custom-domains/#github-repository-setup-errors) file to the `static` directory.

0 comments on commit 78d348a

Please sign in to comment.