saas: remove sourcecode tip

This commit is contained in:
yanlong.wang 2025-04-08 13:39:47 +08:00
parent b7d32b9cbc
commit 6f657ae19a
No known key found for this signature in database
GPG Key ID: C0A623C0BADF9F37
2 changed files with 0 additions and 8 deletions

View File

@ -162,17 +162,10 @@ export class CrawlerHost extends RPCHost {
async getIndex(auth?: JinaEmbeddingsAuthDTO) { async getIndex(auth?: JinaEmbeddingsAuthDTO) {
const indexObject: Record<string, string | number | undefined> = Object.create(indexProto); const indexObject: Record<string, string | number | undefined> = 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, { Object.assign(indexObject, {
usage1: 'https://r.jina.ai/YOUR_URL', usage1: 'https://r.jina.ai/YOUR_URL',
usage2: 'https://s.jina.ai/YOUR_SEARCH_QUERY', usage2: 'https://s.jina.ai/YOUR_SEARCH_QUERY',
homepage: 'https://jina.ai/reader', homepage: 'https://jina.ai/reader',
sourceCode: 'https://github.com/jina-ai/reader',
}); });
await auth?.solveUID(); await auth?.solveUID();

View File

@ -69,7 +69,6 @@ export class SerpHost extends RPCHost {
usage2: 'https://s.jina.ai/YOUR_SEARCH_QUERY', usage2: 'https://s.jina.ai/YOUR_SEARCH_QUERY',
usage3: `${ctx.origin}/?q=YOUR_SEARCH_QUERY`, usage3: `${ctx.origin}/?q=YOUR_SEARCH_QUERY`,
homepage: 'https://jina.ai/reader', homepage: 'https://jina.ai/reader',
sourceCode: 'https://github.com/jina-ai/reader',
}); });
if (auth && auth.user) { if (auth && auth.user) {