diff --git a/src/api/crawler.ts b/src/api/crawler.ts index 8312bce..f8d38e3 100644 --- a/src/api/crawler.ts +++ b/src/api/crawler.ts @@ -162,17 +162,10 @@ export class CrawlerHost extends RPCHost { async getIndex(auth?: JinaEmbeddingsAuthDTO) { const indexObject: Record = Object.create(indexProto); - // Object.assign(indexObject, { - // usage1: `${ctx.origin}/YOUR_URL`, - // usage2: `${ctx.origin}/search/YOUR_SEARCH_QUERY`, - // homepage: 'https://jina.ai/reader', - // sourceCode: 'https://github.com/jina-ai/reader', - // }); Object.assign(indexObject, { usage1: 'https://r.jina.ai/YOUR_URL', usage2: 'https://s.jina.ai/YOUR_SEARCH_QUERY', homepage: 'https://jina.ai/reader', - sourceCode: 'https://github.com/jina-ai/reader', }); await auth?.solveUID(); diff --git a/src/api/serp.ts b/src/api/serp.ts index b367b10..ca0edb5 100644 --- a/src/api/serp.ts +++ b/src/api/serp.ts @@ -69,7 +69,6 @@ export class SerpHost extends RPCHost { usage2: 'https://s.jina.ai/YOUR_SEARCH_QUERY', usage3: `${ctx.origin}/?q=YOUR_SEARCH_QUERY`, homepage: 'https://jina.ai/reader', - sourceCode: 'https://github.com/jina-ai/reader', }); if (auth && auth.user) {