mirror of
https://github.com/withastro/astro.git
synced 2025-03-24 23:21:57 -05:00
Update an error message (#11999)
This commit is contained in:
parent
6e1602c7b1
commit
2062958d66
1 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Reference in a new issue