remoname types
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import { parse } from 'cookie'
|
||||
import type { Route } from './+types'
|
||||
|
||||
import * as httpStatus from '@/lib/http-status'
|
||||
import type { Route } from './+types/authorize'
|
||||
import { parse } from 'cookie'
|
||||
|
||||
export async function loader({ request, context }: Route.LoaderArgs) {
|
||||
const cookies = parse(request.headers.get('Cookie') || '')
|
||||
@@ -31,7 +31,6 @@ export async function loader({ request, context }: Route.LoaderArgs) {
|
||||
})
|
||||
|
||||
if (r.status === httpStatus.BAD_REQUEST) {
|
||||
console.log(r)
|
||||
return new Response(null, {
|
||||
status: httpStatus.FOUND,
|
||||
headers: {
|
||||
|
||||
Reference in New Issue
Block a user