Gitea Release 파일 업로드 "You can not upload files of this type." 문제

Git 2020.02.04 댓글 Plorence

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

댓글