def absolute_url_for(endpoint, **values):
config = current_app.config<EOL>site_domain = config.get('<STR_LIT>')<EOL>relative_url = url_for(endpoint, **values)<EOL>return join_url(site_domain, relative_url)<EOL>
Absolute url for endpoint.