Make admin quotas editable and simplify uploader storage
This commit is contained in:
@@ -613,7 +613,7 @@ export class Service {
|
||||
(input.kind === 'url' && input.byteSize > this.cfg.maxUrlBytes) ||
|
||||
(input.kind === 'text' && input.byteSize > this.cfg.maxTextBytes) ||
|
||||
input.count > this.cfg.maxItems ||
|
||||
input.files?.some((f) => f.size > this.cfg.maxFileBytes)
|
||||
input.files?.some((f) => f.size > this.admin.state.perFileBytes)
|
||||
)
|
||||
fail(413, 'TRANSFER_LIMIT', '전송 크기 또는 개수 제한을 초과했습니다.');
|
||||
const rejected = this.db
|
||||
|
||||
Reference in New Issue
Block a user