From 83ca1df6a903027bbaf93b3efd02c32ac4cb054b Mon Sep 17 00:00:00 2001 From: Henry Williams <3443648+henryjw@users.noreply.github.com> Date: Mon, 15 Nov 2021 03:43:54 -0500 Subject: [PATCH] chore(docs): Update client-only doc (#33967) --- .../routing/client-only-routes-and-user-authentication.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs/how-to/routing/client-only-routes-and-user-authentication.md b/docs/docs/how-to/routing/client-only-routes-and-user-authentication.md index 56d73fc8bc5b6..c9eee791f0c50 100644 --- a/docs/docs/how-to/routing/client-only-routes-and-user-authentication.md +++ b/docs/docs/how-to/routing/client-only-routes-and-user-authentication.md @@ -111,7 +111,7 @@ export default PrivateRoute ## How to configure your hosting service to handle client-only routes -Site hosting services and software needs some help in order to server client-only routes correctly. Most Gatsby pages have a corresponding html file that the server responds with when a user visits the page e.g. visiting `/blog/my-blog-post/` makes the server respond with `/blog/my-blog-post/index.html`. But client-only routes like `/app/why-gatsby-is-awesome/` don't have a corresponding html file. The server needs to be configured to know to serve instead `/app/index.html`. +Site hosting software and services need some help in order to serve client-only routes correctly. Most Gatsby pages have a corresponding html file that the server responds with when a user visits the page e.g. visiting `/blog/my-blog-post/` makes the server respond with `/blog/my-blog-post/index.html`. But client-only routes like `/app/why-gatsby-is-awesome/` don't have a corresponding html file. The server needs to be configured to know to serve instead `/app/index.html`. Popular hosting services like Gatsby Cloud, Netlify, and Vercel have plugins that automatically configure hosting to handle client-only routes.