投稿の最大文字数情報を設定ファイルではなくDBに保存するように

This commit is contained in:
syuilo 2018-11-05 11:09:05 +09:00
parent 10c434f24a
commit d7a3b71028
No known key found for this signature in database
GPG key ID: BDC4C49D06AB9D69
10 changed files with 37 additions and 16 deletions

View file

@ -49,8 +49,6 @@ export default function load() {
if (config.localDriveCapacityMb == null) config.localDriveCapacityMb = 256;
if (config.remoteDriveCapacityMb == null) config.remoteDriveCapacityMb = 8;
if (config.maxNoteTextLength == null) config.maxNoteTextLength = 1000;
return Object.assign(config, mixin);
}