Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

storage: Skip hashing markdown files.

Alex Vandiver25b97c287232
diff --git a/zerver/lib/storage.py b/zerver/lib/storage.py
index a0292733af9..1c26c8b361c 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)