Skip to content

Commit 83ca1df

Browse files
authored
chore(docs): Update client-only doc (#33967)
1 parent 071220a commit 83ca1df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/docs/how-to/routing/client-only-routes-and-user-authentication.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ export default PrivateRoute
111111
112112
## How to configure your hosting service to handle client-only routes
113113

114-
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`.
114+
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`.
115115

116116
Popular hosting services like Gatsby Cloud, Netlify, and Vercel have plugins that automatically configure hosting to handle client-only routes.
117117

0 commit comments

Comments
 (0)