1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-02 00:26:27 +02:00

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

This commit is contained in:
syuilo
2018-11-05 11:09:05 +09:00
parent 10c434f24a
commit d7a3b71028
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);
}