Hi,
How can i get my Hostname from the backend.
I want to send full url of files but the frappe.get_site_path
function get only the resource path
Thanks
Maybe try something like
In [1]: frappe.utils.get_url()
Out[1]: 'https://frappecloud.com'
In [2]: frappe.utils.get_url("dashboard")
Out[2]: 'https://frappecloud.com/dashboard'
2 Likes
Exactly what i was searching for
Thanks !