You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Aug 15 18:40:17 dtluna.net gitea[21743]: 2019/08/15 18:40:17 ...s/repo/attachment.go:58:UploadAttachment() [I] Attachment with type text/plain; charset=utf-8 blocked from upload
[repository.upload]
;Whether repository file uploads are enabled. Defaults to `true`ENABLED = true
;Path for uploads. Defaults to `data/tmp/uploads` (tmp gets deleted on gitea restart)TEMP_PATH = data/tmp/uploads
; One or more allowed types, e.g. image/jpeg|image/png. Nothing means any file typeALLOWED_TYPES = "application/zip|application/gzip|application/x-gzip|application/x-gtar|application/x-tgz|application/x-compressed-tar|text/plain"
and I still cannot upload checksum.txt. But if I have this:
[attachment]; Whether attachments are enabled. Defaults to `true`ENABLED = true
; Path for attachments. Defaults to `data/attachments`PATH = data/attachments
; One or more allowed types, e.g. image/jpeg|image/pngALLOWED_TYPES = */*
then I can upload checksum.txt. I am positive that [attachment] is the section to configure.
[x]
):Description
I have
In my
/etc/gitea/app.ini
, but I still cannot upload checksums.txt at https://git.dtluna.net/dtluna/fallhack/releases/edit/v1.0.1...
Screenshots
The text was updated successfully, but these errors were encountered: