mirror of
https://git.mirrors.martin98.com/https://github.com/jina-ai/reader
synced 2025-04-20 04:40:07 +08:00
saas: remove sourcecode tip
This commit is contained in:
parent
b7d32b9cbc
commit
6f657ae19a
@ -162,17 +162,10 @@ export class CrawlerHost extends RPCHost {
|
||||
|
||||
async getIndex(auth?: JinaEmbeddingsAuthDTO) {
|
||||
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, {
|
||||
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();
|
||||
|
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user