nomagick commited on
Commit
6f657ae
·
unverified ·
1 Parent(s): b7d32b9

saas: remove sourcecode tip

Browse files
Files changed (2) hide show
  1. src/api/crawler.ts +0 -7
  2. src/api/serp.ts +0 -1
src/api/crawler.ts CHANGED
@@ -162,17 +162,10 @@ export class CrawlerHost extends RPCHost {
162
 
163
  async getIndex(auth?: JinaEmbeddingsAuthDTO) {
164
  const indexObject: Record<string, string | number | undefined> = Object.create(indexProto);
165
- // Object.assign(indexObject, {
166
- // usage1: `${ctx.origin}/YOUR_URL`,
167
- // usage2: `${ctx.origin}/search/YOUR_SEARCH_QUERY`,
168
- // homepage: 'https://jina.ai/reader',
169
- // sourceCode: 'https://github.com/jina-ai/reader',
170
- // });
171
  Object.assign(indexObject, {
172
  usage1: 'https://r.jina.ai/YOUR_URL',
173
  usage2: 'https://s.jina.ai/YOUR_SEARCH_QUERY',
174
  homepage: 'https://jina.ai/reader',
175
- sourceCode: 'https://github.com/jina-ai/reader',
176
  });
177
 
178
  await auth?.solveUID();
 
162
 
163
  async getIndex(auth?: JinaEmbeddingsAuthDTO) {
164
  const indexObject: Record<string, string | number | undefined> = Object.create(indexProto);
 
 
 
 
 
 
165
  Object.assign(indexObject, {
166
  usage1: 'https://r.jina.ai/YOUR_URL',
167
  usage2: 'https://s.jina.ai/YOUR_SEARCH_QUERY',
168
  homepage: 'https://jina.ai/reader',
 
169
  });
170
 
171
  await auth?.solveUID();
src/api/serp.ts CHANGED
@@ -69,7 +69,6 @@ export class SerpHost extends RPCHost {
69
  usage2: 'https://s.jina.ai/YOUR_SEARCH_QUERY',
70
  usage3: `${ctx.origin}/?q=YOUR_SEARCH_QUERY`,
71
  homepage: 'https://jina.ai/reader',
72
- sourceCode: 'https://github.com/jina-ai/reader',
73
  });
74
 
75
  if (auth && auth.user) {
 
69
  usage2: 'https://s.jina.ai/YOUR_SEARCH_QUERY',
70
  usage3: `${ctx.origin}/?q=YOUR_SEARCH_QUERY`,
71
  homepage: 'https://jina.ai/reader',
 
72
  });
73
 
74
  if (auth && auth.user) {