Ensures old hyperlinks with page numbers are redirected properly.
This commit is contained in:
parent
3e66655ee7
commit
e0802d4db0
1 changed files with 3 additions and 0 deletions
|
|
@ -1340,6 +1340,9 @@ routes:
|
||||||
else:
|
else:
|
||||||
redirect uri("/404")
|
redirect uri("/404")
|
||||||
|
|
||||||
|
get "/t/@id/@page":
|
||||||
|
redirect uri("/t/" & @"id")
|
||||||
|
|
||||||
get "/profile/@username":
|
get "/profile/@username":
|
||||||
cond "username" in request.params
|
cond "username" in request.params
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue