Skip to content

Commit 18acae3

Browse files
authored
[error docs] update link for client-side scripts (#6423)
1 parent 8b49d17 commit 18acae3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/astro/src/core/errors/errors-data.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ export const AstroErrorData = defineErrors({
7575
* @description
7676
* The `Astro.clientAddress` property is only available when [Server-side rendering](https://docs.astro.build/en/guides/server-side-rendering/) is enabled.
7777
*
78-
* 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.
78+
* 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.
7979
*/
8080
StaticClientAddressNotAvailable: {
8181
title: '`Astro.clientAddress` is not available in static mode.',

0 commit comments

Comments
 (0)