mirror of
https://github.com/withastro/astro.git
synced 2024-12-16 21:46:22 -05:00
[error docs] update link for client-side scripts (#6423)
This commit is contained in:
parent
8b49d1781d
commit
18acae3edc
1 changed files with 1 additions and 1 deletions
|
@ -75,7 +75,7 @@ export const AstroErrorData = defineErrors({
|
|||
* @description
|
||||
* The `Astro.clientAddress` property is only available when [Server-side rendering](https://docs.astro.build/en/guides/server-side-rendering/) is enabled.
|
||||
*
|
||||
* To get the user's IP address in static mode, different APIs such as [Ipify](https://www.ipify.org/) can be used in a [Client-side script](https://docs.astro.build/en/core-concepts/astro-components/#client-side-scripts) or it may be possible to get the user's IP using a serverless function hosted on your hosting provider.
|
||||
* To get the user's IP address in static mode, different APIs such as [Ipify](https://www.ipify.org/) can be used in a [Client-side script](https://docs.astro.build/en/guides/client-side-scripts/) or it may be possible to get the user's IP using a serverless function hosted on your hosting provider.
|
||||
*/
|
||||
StaticClientAddressNotAvailable: {
|
||||
title: '`Astro.clientAddress` is not available in static mode.',
|
||||
|
|
Loading…
Reference in a new issue