mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-05-27 04:07:08 +00:00
review
This commit is contained in:
parent
7316108d56
commit
9ccad50b05
4 changed files with 7 additions and 0 deletions
|
@ -347,6 +347,8 @@ func (repo *Repository) APIURL() string {
|
|||
}
|
||||
|
||||
// APAPIURL returns the activitypub repository API URL
|
||||
// TODO: At least camel case?
|
||||
// TODO: Mv federation related stuff to federated_repo
|
||||
func (repo *Repository) APAPIURL() string {
|
||||
return setting.AppURL + "api/v1/activitypub/repository-id/" + url.PathEscape(string(repo.ID))
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue