From 25b97c2872324887787fe1ee1c38e557bbc7eb59 Mon Sep 17 00:00:00 2001 From: Alex Vandiver Date: Tue, 7 Feb 2023 22:20:29 +0000 Subject: [PATCH] storage: Skip hashing markdown files. --- zerver/lib/storage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zerver/lib/storage.py b/zerver/lib/storage.py index a0292733af..1c26c8b361 100644 --- a/zerver/lib/storage.py +++ b/zerver/lib/storage.py @@ -51,7 +51,7 @@ class IgnoreBundlesManifestStaticFilesStorage(ManifestStaticFilesStorage): # used the hashed paths for these; in that case, though, # we should instead be removing the non-hashed paths. return name - if ext in [".json", ".po", ".mo", ".mp3", ".ogg", ".html"]: + if ext in [".json", ".po", ".mo", ".mp3", ".ogg", ".html", ".md"]: # And same story for translation files, sound files, etc. return name return super().hashed_name(name, content, filename)