]> source.dussan.org Git - gitea.git/commit
For API attachments, use API URL (#25639)
authorLunny Xiao <xiaolunwen@gmail.com>
Mon, 10 Jul 2023 09:31:19 +0000 (17:31 +0800)
committerGitHub <noreply@github.com>
Mon, 10 Jul 2023 09:31:19 +0000 (09:31 +0000)
commit0fd1672ae49a5f69fca7d90336ae75be83a21014
tree21b651c5ae3bf4db7434ef44de1ac9b4c7865703
parent5489962aac6faf3260176a0f53cbb78c44c421a5
For API attachments, use API URL (#25639)

Fix #25257

---------

Co-authored-by: Giteabot <teabot@gitea.io>
19 files changed:
models/repo/attachment.go
routers/api/v1/api.go
routers/api/v1/repo/issue_attachment.go
routers/api/v1/repo/issue_comment.go
routers/api/v1/repo/issue_comment_attachment.go
routers/api/v1/repo/release.go
routers/api/v1/repo/release_attachment.go
routers/api/v1/repo/release_tags.go
routers/web/repo/issue.go
services/actions/notifier.go
services/actions/notifier_helper.go
services/convert/activity.go
services/convert/attachment.go
services/convert/issue.go
services/convert/issue_comment.go
services/convert/release.go
services/webhook/notifier.go
tests/integration/api_comment_attachment_test.go
tests/integration/api_comment_test.go