diff options
author | FChannel <> | 2022-05-01 12:13:25 -0700 |
---|---|---|
committer | FChannel <> | 2022-06-19 12:53:29 -0700 |
commit | e80fe14f7985f9e85bfb9582926acd7891455786 (patch) | |
tree | 80f4fb97c3299d94cb590a23be2eb531ec66c3db /activitypub/actor.go | |
parent | 2af4a39ac16c6245f0e87ddf3cc137339f6c604f (diff) |
fix for parsing reply link and showing images in static folder
Diffstat (limited to 'activitypub/actor.go')
-rw-r--r-- | activitypub/actor.go | 2 |
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) |