diff options
author | FChannel <=> | 2021-01-30 02:20:30 -0800 |
---|---|---|
committer | FChannel <=> | 2021-01-30 02:20:30 -0800 |
commit | 4a80553734f985dbbdf64b6c289a3985c0bc0880 (patch) | |
tree | eafc8d1d7b6e1a1beef57c03039357c4fbe87da1 | |
parent | 99fcc761a0fe1141a997d4d8709dd2bca18efcdb (diff) |
regex fix for pagnation
-rw-r--r-- | main.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |