diff --git a/src/web/settings.py b/src/web/settings.py index 41da8a2c..a80ee4b3 100644 --- a/src/web/settings.py +++ b/src/web/settings.py @@ -6,7 +6,7 @@ home_dir = getcwd() DEFAULT_CONFIG = "default.json" MAX_FILE_SIZE = getenv("MAX_FILE_SIZE", 1024 * 1024 * 1024 * 2) # 2gb -HARDDRIVE_FILE_SUFFIX = ("hda", "hdn", "hdi", "nhd", "hdf", "hds") +HARDDRIVE_FILE_SUFFIX = ("hda", "hdn", "hdi", "nhd", "hdf", "hds", "dsk") CDROM_FILE_SUFFIX = ("iso", "cdr", "toast", "img") REMOVABLE_FILE_SUFFIX = ("hdr",) ARCHIVE_FILE_SUFFIX = ("zip",) diff --git a/src/web/templates/index.html b/src/web/templates/index.html index 9bdb4957..96afc8c3 100644 --- a/src/web/templates/index.html +++ b/src/web/templates/index.html @@ -183,7 +183,7 @@ chunking: true, forceChunking: true, url: '/files/upload', - maxFilesize: 2049, // megabytes + maxFilesize: {{max_file_size}}, // MB chunkSize: 1000000 // bytes }