aboutsummaryrefslogtreecommitdiff
path: root/activitypub/actor.go
diff options
context:
space:
mode:
Diffstat (limited to 'activitypub/actor.go')
-rw-r--r--activitypub/actor.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/activitypub/actor.go b/activitypub/actor.go
index 70681d1..e837df5 100644
--- a/activitypub/actor.go
+++ b/activitypub/actor.go
@@ -484,7 +484,7 @@ func GetActorInstance(path string) (string, string) {
}
}
- re = regexp.MustCompile(`(https?://)?(www)?([\w\d-_.:]+)(/|\s+|\r|\r\n)?$`)
+ re = regexp.MustCompile(`(https?://)(www)?([\w\d-_.:]+)(/|\s+|\r|\r\n)?$`)
mainActor := re.MatchString(path)
if mainActor {
match := re.FindStringSubmatch(path)