From 20df7cafd3d3a678de2d4e0fa35c15b7daa3b1c4 Mon Sep 17 00:00:00 2001 From: Paul Hibbitts Date: Tue, 24 Oct 2023 09:49:52 -0700 Subject: [PATCH] Update index.html --- docs/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/index.html b/docs/index.html index 0b1b70e1..e5f4d8c0 100644 --- a/docs/index.html +++ b/docs/index.html @@ -730,12 +730,12 @@ } function getAllowedFileExtensions() { - // Return list of supported file extensions + // Return list of supported file extensions and supported slugs (e.g. 'download') return ".md,download"; } function isExtensionAllowed(fileURL) { - // Check if filename contains an allowed file extension + // Check if filename contains an allowed file extension or supported slug var allowedExtensions = getAllowedFileExtensions(); fileURL = fileURL.split('?id')[0]; var extension = fileURL.split(".").pop();