8.6.1. vantage6.backend.common.get_server_url

get_server_url(config, server_url_from_request=None)

” Get the server url from the request data, or from the configuration if it is not present in the request.

Parameters:
  • config (dict) – Server configuration

  • server_url_from_request (str | None) – Server url from the request data.

Returns:

The server url

Return type:

str | None