add status
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user