From 4a80553734f985dbbdf64b6c289a3985c0bc0880 Mon Sep 17 00:00:00 2001 From: FChannel <=> Date: Sat, 30 Jan 2021 02:20:30 -0800 Subject: regex fix for pagnation --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main.go') diff --git a/main.go b/main.go index dfb65a2..90cd238 100644 --- a/main.go +++ b/main.go @@ -118,7 +118,7 @@ func main() { actorReported = (path == "/" + actor.Name + "/reported") actorVerification = (path == "/" + actor.Name + "/verification") - re := regexp.MustCompile("/" + actor.Name + "/[0-9]{1,2}") + re := regexp.MustCompile("/" + actor.Name + "/[0-9]{1,2}$") actorMainPage = re.MatchString(path) -- cgit v1.2.3