mirror of
https://git.mirrors.martin98.com/https://github.com/jina-ai/reader
synced 2025-08-17 10:16:03 +08:00
fix: missing url query param
This commit is contained in:
parent
df127d0207
commit
531c660a5d
@ -228,7 +228,7 @@ export class CrawlerHost extends RPCHost {
|
|||||||
let chargeAmount = 0;
|
let chargeAmount = 0;
|
||||||
const crawlerOptions = ctx.method === 'GET' ? crawlerOptionsHeaderOnly : crawlerOptionsParamsAllowed;
|
const crawlerOptions = ctx.method === 'GET' ? crawlerOptionsHeaderOnly : crawlerOptionsParamsAllowed;
|
||||||
|
|
||||||
const targetUrl = await this.getTargetUrl(tryDecodeURIComponent(ctx.path), crawlerOptions);
|
const targetUrl = await this.getTargetUrl(tryDecodeURIComponent(ctx.url), crawlerOptions);
|
||||||
if (!targetUrl) {
|
if (!targetUrl) {
|
||||||
return await this.getIndex(auth);
|
return await this.getIndex(auth);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user