mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-18 06:44:46 -07:00
Set 404 status and status text
This commit is contained in:
parent
abd753f356
commit
ef5f5bef41
1 changed files with 3 additions and 0 deletions
|
|
@ -19,6 +19,9 @@ if ( redirectResponse !== null ) {
|
|||
return redirectResponse
|
||||
}
|
||||
|
||||
// https://docs.astro.build/en/reference/api-reference/#astroresponse
|
||||
Astro.response.status = 404
|
||||
Astro.response.statusText = 'Not found'
|
||||
---
|
||||
<Layout
|
||||
headOptions={ {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue