Fix webfinger regex missing period
This commit is contained in:
parent
fb5ecf3c45
commit
82ef7917ca
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ import (
|
||||||
webshared "git.mstar.dev/mstar/linstrom/web/shared"
|
webshared "git.mstar.dev/mstar/linstrom/web/shared"
|
||||||
)
|
)
|
||||||
|
|
||||||
var webfingerResourceRegex = regexp.MustCompile(`acct:(?P<username>[\w-]+)@(?<domain>[\w\.-]+)`)
|
var webfingerResourceRegex = regexp.MustCompile(`acct:(?P<username>[\w\.-]+)@(?<domain>[\w\.-]+)`)
|
||||||
|
|
||||||
func WellKnownWebfinger(w http.ResponseWriter, r *http.Request) {
|
func WellKnownWebfinger(w http.ResponseWriter, r *http.Request) {
|
||||||
type OutboundLink struct {
|
type OutboundLink struct {
|
||||||
|
|
Loading…
Reference in a new issue