This commit is contained in:
syuilo 2018-07-21 19:17:15 +09:00
parent 049085fb7a
commit 297a7f541e
9 changed files with 17 additions and 13 deletions

View file

@ -44,6 +44,9 @@ export default function load() {
mixin.status_url = `${mixin.scheme}://${mixin.host}/status`;
mixin.drive_url = `${mixin.scheme}://${mixin.host}/files`;
if (config.localDriveCapacityMb == null) config.localDriveCapacityMb = 256;
if (config.remoteDriveCapacityMb == null) config.remoteDriveCapacityMb = 8;
return Object.assign(config, mixin);
}