Skip to content

Commit

Permalink
remove outdated error
Browse files Browse the repository at this point in the history
  • Loading branch information
FredKSchott committed Oct 18, 2023
1 parent ce660b1 commit de24d90
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions packages/astro/src/core/errors/errors-data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,20 +50,6 @@ export const StaticRedirectNotAvailable = {
message:
"Redirects are only available when using `output: 'server'` or `output: 'hybrid'`. Update your Astro config if you need SSR features.",
} satisfies ErrorData;
/**
* @docs
* @see
* - [Enabling SSR in Your Project](https://docs.astro.build/en/guides/server-side-rendering/#enabling-ssr-in-your-project)
* - [Astro.request](https://docs.astro.build/en/reference/api-reference/#astrorequest)
* @description
* Request headers via the `Astro.request.headers` property are only available when [Server-side rendering](/en/guides/server-side-rendering/) is enabled.
*/
export const StaticHeadersNotAvailable = {
name: 'StaticHeadersNotAvailable',
title: '`Astro.request.headers` is not available in static output mode.',
message:
"`Astro.request.headers` is only available when using `output: 'server'` or `output: 'hybrid'`. Update your Astro config if you need SSR features.",
} satisfies ErrorData;
/**
* @docs
* @see
Expand Down

0 comments on commit de24d90

Please sign in to comment.