@nuxt/docs-nightly 5.0.0-29800169.7eacddbc → 5.0.0-29800298.be70a549
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -17,6 +17,10 @@ When utilizing [Hybrid Rendering](/docs/4.x/guide/concepts/rendering#hybrid-rend
|
|
|
17
17
|
You can define the [`cache.varies` option](https://nitro.build/guide/cache#options) to specify headers that will be considered when caching and serving the responses, such as `host` and `x-forwarded-host` for multi-tenant environments.
|
|
18
18
|
::
|
|
19
19
|
|
|
20
|
+
::note
|
|
21
|
+
If you have set [`app.baseURL`](/docs/4.x/api/nuxt-config#baseurl), the path returned on the server is relative to it, so `/base/about` is served as `/about`. On the client, `useRequestURL` reads `window.location`, which includes the base URL.
|
|
22
|
+
::
|
|
23
|
+
|
|
20
24
|
::code-group
|
|
21
25
|
|
|
22
26
|
```vue [app/pages/about.vue]
|