Skip to content

Commit 3e992a0

Browse files
committed
add missing endpoint
1 parent 3c363c5 commit 3e992a0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

routers/api/v1/api.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1426,6 +1426,7 @@ func Routes() *web.Router {
14261426
Get(repo.GetFileContentsGet).
14271427
Post(bind(api.GetFilesOptions{}), repo.GetFileContentsPost) // POST method requires "write" permission, so we also support "GET" method above
14281428
m.Get("/signing-key.gpg", misc.SigningKey)
1429+
m.Get("/signing-key.pub", misc.SigningKeySSH)
14291430
m.Group("/topics", func() {
14301431
m.Combo("").Get(repo.ListTopics).
14311432
Put(reqToken(), reqAdmin(), bind(api.RepoTopicOptions{}), repo.UpdateTopics)

0 commit comments

Comments
 (0)