nomagick commited on
Commit
0d6cf2b
·
unverified ·
1 Parent(s): 101cb19

fix: robots-txt location

Browse files
Files changed (1) hide show
  1. src/services/robots-text.ts +1 -1
src/services/robots-text.ts CHANGED
@@ -31,7 +31,7 @@ export class RobotsTxtService extends AsyncService {
31
 
32
  async getCachedRobotTxt(origin: string) {
33
  const digest = md5Hasher.hash(origin.toLowerCase());
34
- const cacheLoc = `/robots-txt/${digest}`;
35
  let buff;
36
  buff = await this.firebaseStorageBucketControl.downloadFile(cacheLoc).catch(() => undefined);
37
  if (buff) {
 
31
 
32
  async getCachedRobotTxt(origin: string) {
33
  const digest = md5Hasher.hash(origin.toLowerCase());
34
+ const cacheLoc = `robots-txt/${digest}`;
35
  let buff;
36
  buff = await this.firebaseStorageBucketControl.downloadFile(cacheLoc).catch(() => undefined);
37
  if (buff) {