15 lines
233 B
Go
15 lines
233 B
Go
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,
|
|
)
|
|
}
|