feat: profile page

This commit is contained in:
pateljannat
2021-04-14 11:19:02 +05:30
parent 88888903ab
commit e8ff9a5a32
9 changed files with 156 additions and 27 deletions

View File

@@ -156,7 +156,7 @@ whitelist_rules = [{"from_route": p, "to_route": p[1:]} for p in whitelist]
# regex rule to match all profiles
profile_rules = [
{"from_route": "/<string(minlength=5):username>", "to_route": "profiles/profile"},
{"from_route": "/<string(minlength=4):username>", "to_route": "profiles/profile"},
]
website_route_rules = primary_rules + whitelist_rules + profile_rules