Skip to content

Commit

Permalink
minor doc update
Browse files Browse the repository at this point in the history
  • Loading branch information
pancaspe87 committed Jun 14, 2024
1 parent 863e8c7 commit 91b3634
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/router/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export const routes = [
];
```

You can also mark a path param as optional by using the `?` suffix. For example, if you want to make the `userId` param optional, you would do so like this `'/user/:userId?'`. This also applied to query parameters, e.g `query: ['foo', 'baz?']`.
You can also mark a path param as optional by using the `?` suffix. For example, if you want to make the `userId` param optional, you would do so like this `'/user/:userId?'`. This also applies to query parameters, e.g `query: ['foo', 'baz?']`.

## History

Expand Down

0 comments on commit 91b3634

Please sign in to comment.