mirror of
https://git.mirrors.martin98.com/https://github.com/jina-ai/reader
synced 2025-04-18 11:50:00 +08:00
fix: robots-txt location
This commit is contained in:
parent
101cb19dde
commit
0d6cf2b1d1
@ -31,7 +31,7 @@ export class RobotsTxtService extends AsyncService {
|
||||
|
||||
async getCachedRobotTxt(origin: string) {
|
||||
const digest = md5Hasher.hash(origin.toLowerCase());
|
||||
const cacheLoc = `/robots-txt/${digest}`;
|
||||
const cacheLoc = `robots-txt/${digest}`;
|
||||
let buff;
|
||||
buff = await this.firebaseStorageBucketControl.downloadFile(cacheLoc).catch(() => undefined);
|
||||
if (buff) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user