Skip to content

Commit

Permalink
docs: polish
Browse files Browse the repository at this point in the history
  • Loading branch information
brillout committed Feb 15, 2025
1 parent 2ceea5c commit 1629092
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/pages/base-url/+Page.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ Example:
If you set a Base URL for your SSR server, then make sure to properly install <Link href="/renderPage">`renderPage()`</Link>.
You can use your server to only route URLs that include the Base URL, for example with Express.js:
Make sure you use `renderPage()` only for URLs that include the Base URL, for example with Express.js:
```js
// Make sure `/some-base/` aligns with your base setting
Expand All @@ -174,7 +174,7 @@ app.get('/some-base/*', async (req, res) => {
})
```
Or you can use `pageContext.isBaseMissing`:
Or use `pageContext.isBaseMissing`:
```js
app.get('*', async (req, res, next) => {
Expand Down

0 comments on commit 1629092

Please sign in to comment.