Add maxSizeAutoDownloads with default set to 10Mb

This commit is contained in:
N-Pex 2023-12-04 15:28:03 +01:00
parent 324ccd70b3
commit db517fbd9c
9 changed files with 12 additions and 8 deletions

View file

@ -26,6 +26,9 @@ export default {
if (json.useFullyQualifiedDMLinks == undefined) {
Vue.set(config, "useFullyQualifiedDMLinks", true); // Default to true
}
if (!json.maxSizeAutoDownloads) {
Vue.set(config, "maxSizeAutoDownloads", 10 * 1024 * 1024);
}
Vue.set(config, "loaded", true);
// Tell callback we are done loading runtime config