From 2062958d66c5baf876e7ff54f51d65eb97b4b5c8 Mon Sep 17 00:00:00 2001 From: Sarah Rainsberger Date: Sun, 15 Sep 2024 16:52:46 -0300 Subject: [PATCH] Update an error message (#11999) --- packages/astro/src/core/errors/errors-data.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/astro/src/core/errors/errors-data.ts b/packages/astro/src/core/errors/errors-data.ts index 6ae53a7f73..89bdfb55a0 100644 --- a/packages/astro/src/core/errors/errors-data.ts +++ b/packages/astro/src/core/errors/errors-data.ts @@ -1608,7 +1608,7 @@ export const UnsupportedConfigTransformError = { /** * @docs * @see - * - [On-demand rendering](https://docs.astro.build/en/basics/rendering-modes/#on-demand-rendered) + * - [On-demand rendering](https://5-0-0-beta.docs.astro.build/en/guides/on-demand-rendering/) * @description * Your project must have a server output to create backend functions with Actions. */ @@ -1616,8 +1616,8 @@ export const ActionsWithoutServerOutputError = { name: 'ActionsWithoutServerOutputError', title: 'Actions must be used with server output.', message: - 'Actions enabled without setting a server build output. A server is required to create callable backend functions. To deploy routes to a server, add a server adapter to your astro config.', - hint: 'Learn about on-demand rendering: https://docs.astro.build/en/basics/rendering-modes/#on-demand-rendered', + 'A server is required to create callable backend functions. To deploy routes to a server, add an adapter to your Astro config and configure your route for on-demand rendering', + hint: 'Add an adapter and enable on-demand rendering: https://5-0-0-beta.docs.astro.build/en/guides/on-demand-rendering/', } satisfies ErrorData; /**