add lookup
This commit is contained in:
@@ -9,8 +9,8 @@ async function proxy({
|
||||
request,
|
||||
context
|
||||
}: Route.ActionArgs): Promise<Response> {
|
||||
const pathname = new URL(request.url).pathname
|
||||
const url = new URL(pathname, context.cloudflare.env.ISSUER_URL)
|
||||
const { pathname, search } = new URL(request.url)
|
||||
const url = new URL(pathname + search, context.cloudflare.env.ISSUER_URL)
|
||||
const headers = new Headers(request.headers)
|
||||
|
||||
const shouldCache =
|
||||
|
||||
Reference in New Issue
Block a user