#NEWLINE# def absolute_url_for( endpoint , **values ) : #NEWLINE# #INDENT# 'Absolute url for endpoint.' #NEWLINE# config = current_app . config #NEWLINE# site_domain = config . get ( 'SITE_DOMAIN' ) #NEWLINE# relative_url = url_for ( relative_url , ** values ) #NEWLINE# return join_url ( site_domain , relative_url )