diff options
author | Aubrey Li <63608597+Aubrey-Li@users.noreply.github.com> | 2021-12-02 14:40:34 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-02 14:40:34 -0500 |
commit | c415a692ed51563ea937901860d2532aede93d46 (patch) | |
tree | af24d05b564ca4e0011aee368a38eaedb7981d64 /src/server/GarbageCollector.ts | |
parent | c2cd77ca1d2a67539f0af2a68c1e7336b3bc232b (diff) | |
parent | 2cb18e75aa487ff98086e15fef93e2f549c30496 (diff) |
Merge pull request #50 from brown-dash/trails-aubrey
Maps integration
Diffstat (limited to 'src/server/GarbageCollector.ts')
-rw-r--r-- | src/server/GarbageCollector.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/GarbageCollector.ts b/src/server/GarbageCollector.ts index 7c441e3c0..c60880882 100644 --- a/src/server/GarbageCollector.ts +++ b/src/server/GarbageCollector.ts @@ -45,7 +45,7 @@ function addDoc(doc: any, ids: string[], files: { [name: string]: string[] }) { } exts.push(ext); } - } else if (["audio", "image", "video", "pdf", "web"].includes(field.__type)) { + } else if (["audio", "image", "video", "pdf", "web", "map"].includes(field.__type)) { const url = new URL(field.url); const pathname = url.pathname; const ext = path.extname(pathname); |