From e80fe14f7985f9e85bfb9582926acd7891455786 Mon Sep 17 00:00:00 2001 From: FChannel <> Date: Sun, 1 May 2022 12:13:25 -0700 Subject: fix for parsing reply link and showing images in static folder --- activitypub/actor.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'activitypub') 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) -- cgit v1.2.3