Spaces:
Build error
Build error
fix: robots-txt location
Browse files
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 = `
|
| 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) {
|