投稿の最大文字数情報を設定ファイルではなく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

@ -62,7 +62,7 @@ export default define(meta, (ps, me) => new Promise(async (res, rej) => {
swPublickey: config.sw ? config.sw.public_key : null,
hidedTags: (me && me.isAdmin) ? met.hidedTags : undefined,
bannerUrl: met.bannerUrl,
maxNoteTextLength: config.maxNoteTextLength,
maxNoteTextLength: met.maxNoteTextLength || 1000,
emojis: emojis,