aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorFChannel <=>2021-01-30 02:20:30 -0800
committerFChannel <=>2021-01-30 02:20:30 -0800
commit4a80553734f985dbbdf64b6c289a3985c0bc0880 (patch)
treeeafc8d1d7b6e1a1beef57c03039357c4fbe87da1 /main.go
parent99fcc761a0fe1141a997d4d8709dd2bca18efcdb (diff)
regex fix for pagnation
Diffstat (limited to 'main.go')
-rw-r--r--main.go2
1 files changed, 1 insertions, 1 deletions
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)