What am I missing here? I'm trying to redirect the user when they use 'www' to the correct domain but it seems that I'm missing something because it's not working, it gives me error š¦ ``` @app.before_request def redirect_to_domain(): FROM_DOMAIN = "www.marsman.pythonanywhere.com" TO_DOMAIN = "marsman.pythonanywhere.com" urlparts = urlparse(request.url) if urlparts.netloc == FROM_DOMAIN: urlparts_list = list(urlparts) urlparts_list[1] = TO_DOMAIN return redirect(urlunparse(urlparts_list), code=301) ```