add status

This commit is contained in:
2025-08-17 21:23:02 -03:00
parent 39d9ff99fd
commit 401a81afa0
4 changed files with 11 additions and 4 deletions

View File

@@ -11,6 +11,7 @@ import { Button } from '@/components/ui/button'
import { Checkbox } from '@/components/ui/checkbox'
import { Input } from '@/components/ui/input'
import { Label } from '@/components/ui/label'
import * as httpStatus from '@/lib/http-status'
import { useState } from 'react'
import logo from './logo.svg'
@@ -49,7 +50,7 @@ export async function action({ request, context }: Route.ActionArgs) {
headers.set('Location', url.toString())
return new Response(await r.text(), {
status: 302,
status: httpStatus.FOUND,
headers
})
} catch {