Skip to content

Commit d27ff6e

Browse files
committed
chore: make it clearer
1 parent a544e8f commit d27ff6e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/recipes/serve-static.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ You can set the path to render your static app, specify excluded paths, enable o
4343
> warning **Notice** The default `renderPath` of the Static App is `*` (all paths), and the module will send "index.html" files in response.
4444
> It lets you create Client-Side routing for your SPA. Paths, specified in your controllers will fallback to the server.
4545
> You can change this behavior setting `serveRoot`, `renderPath` combining them with other options.
46-
> Additionally, the option `serveStaticOptions.fallthrough` has been implemented in the Fastify adapter to mimic Express's behavior and needs to be set to `true` to send `index.html` instead of a 404 error for non existing route.
46+
> Additionally, the option `serveStaticOptions.fallthrough` has been implemented in the Fastify adapter to mimic Express's fallthrough behavior and needs to be set to `true` to send `index.html` instead of a 404 error for non existing route.
4747
4848
#### Example
4949

0 commit comments

Comments
 (0)