fix: mobile layout and certification link

This commit is contained in:
Jannat Patel
2024-04-05 08:56:18 +05:30
parent 838bc1fac2
commit d892a28069
9 changed files with 37 additions and 15 deletions

View File

@@ -136,13 +136,17 @@ override_whitelisted_methods = {
# Add all simple route rules here
website_route_rules = [
{"from_route": "/lms/<path:app_path>", "to_route": "lms"},
{
"from_route": "/courses/<course_name>/<certificate_id>",
"to_route": "certificate",
},
]
website_redirects = [
{"source": "/update-profile", "target": "/edit-profile"},
{"source": "/courses", "target": "/lms/courses"},
{
"source": r"/courses/(.*)",
"source": r"/courses/([^/]*)",
"target": "/lms/courses",
"match_with_query_string": True,
},