Add placeholder ActivitStreams object and activity type files
All checks were successful
/ docker (push) Successful in 4m7s
All checks were successful
/ docker (push) Successful in 4m7s
This commit is contained in:
parent
135b32a425
commit
d70786439e
44 changed files with 41 additions and 0 deletions
15
web/public/api/activitypub/0_util.go
Normal file
15
web/public/api/activitypub/0_util.go
Normal file
|
@ -0,0 +1,15 @@
|
|||
package activitypub
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
|
||||
"git.mstar.dev/mstar/linstrom/config"
|
||||
)
|
||||
|
||||
func userIdToApUrl(id string) string {
|
||||
return fmt.Sprintf(
|
||||
"%s/api/activitypub/user/%s",
|
||||
config.GlobalConfig.General.GetFullPublicUrl(),
|
||||
id,
|
||||
)
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue