update cf context on id
This commit is contained in:
@@ -7,6 +7,7 @@ import { Link } from 'react-router'
|
||||
import { MailIcon } from 'lucide-react'
|
||||
import { z } from 'zod'
|
||||
|
||||
import { cloudflareContext } from '@repo/auth/context'
|
||||
import logo from '@repo/ui/components/logo2.svg'
|
||||
import { Button } from '@repo/ui/components/ui/button'
|
||||
import {
|
||||
@@ -44,7 +45,8 @@ export function meta({}: Route.MetaArgs) {
|
||||
}
|
||||
|
||||
export async function action({ request, context }: Route.ActionArgs) {
|
||||
const url = new URL('/forgot', context.cloudflare.env.ISSUER_URL)
|
||||
const cloudflare = context.get(cloudflareContext)
|
||||
const url = new URL('/forgot', cloudflare.env.ISSUER_URL)
|
||||
const body = await request.json()
|
||||
|
||||
console.log(url.toString())
|
||||
|
||||
Reference in New Issue
Block a user