gitea 저장소 이슈에도 나와 있는데, app.ini에서 추가만 하면 됩니다.
[repository.upload]
ALLOWED_TYPES = application/zip|application/x-zip|application/x-zip-compressed|application/x-compress|application/x-compressed|multipart/x-zip
[attachment]
ENABLED = true
PATH = E:/my-work-spaces/Gitea/data/attachments
ALLOWED_TYPES = application/zip|application/x-zip|application/x-zip-compressed|application/x-compress|application/x-compressed|multipart/x-zip
MAX_SIZE = 20
MAX_FILES = 1
댓글