diff options
-rw-r--r-- | packages/astro/src/@types/astro.ts | 6 | ||||
-rw-r--r-- | packages/astro/src/core/build/generate.ts | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/packages/astro/src/@types/astro.ts b/packages/astro/src/@types/astro.ts index 0c15a9649..c5cdfac1b 100644 --- a/packages/astro/src/@types/astro.ts +++ b/packages/astro/src/@types/astro.ts @@ -1565,7 +1565,7 @@ export interface AstroUserConfig { * }, * }) * ``` - * + * * Both page routes built and URLs returned by the `astro:i18n` helper functions [`getAbsoluteLocaleUrl()`](https://docs.astro.build/en/guides/internationalization/#getabsolutelocaleurl) and [`getAbsoluteLocaleUrlList()`](https://docs.astro.build/en/guides/internationalization/#getabsolutelocaleurllist) will use the options set in `i18n.domains`. * * See the [Internationalization Guide](https://docs.astro.build/en/guides/internationalization/#domains) for more details, including the limitations of this feature. @@ -1739,9 +1739,9 @@ export interface AstroUserConfig { * } * }) * ``` - * + * * Both page routes built and URLs returned by the `astro:i18n` helper functions [`getAbsoluteLocaleUrl()`](https://docs.astro.build/en/guides/internationalization/#getabsolutelocaleurl) and [`getAbsoluteLocaleUrlList()`](https://docs.astro.build/en/guides/internationalization/#getabsolutelocaleurllist) will use the options set in `i18n.domains`. - * + * * See the [Internationalization Guide](https://docs.astro.build/en/guides/internationalization/#domains-experimental) for more details, including the limitations of this experimental feature. */ i18nDomains?: boolean; diff --git a/packages/astro/src/core/build/generate.ts b/packages/astro/src/core/build/generate.ts index e73d34c71..19f90176e 100644 --- a/packages/astro/src/core/build/generate.ts +++ b/packages/astro/src/core/build/generate.ts @@ -439,7 +439,7 @@ function getInvalidRouteSegmentError( route.route, JSON.stringify(invalidParam), JSON.stringify(received) - ) + ) : `Generated path for ${route.route} is invalid.`, hint, }); |