akkudoktoreos.server.dash.context.request_url_for

akkudoktoreos.server.dash.context.request_url_for(path: str, root_path: str | None = None) str

Generate a full URL including the root_path.

Parameters:
  • path – Relative path inside the app (e.g., “eosdash/footer” or “eosdash/assets/logo.png”).

  • root_path – Root path.

Returns:

Absolute URL including the root_path.

Return type:

str