3 lines
174 B
Python
3 lines
174 B
Python
def get_app_url(config):
|
|
""" Returns the application's URL, based on the given config. """
|
|
return '%s://%s' % (config['PREFERRED_URL_SCHEME'], config['SERVER_HOSTNAME'])
|