bahaou
2
@megha007 open site-config.json and change the host_name there
1 Like
I’ve changed it, but there is no effect on url. After changing I have to restart bench or do anything ?
what this command do? If I run it on server directly?
bahaou
6
@megha007 Run patches, sync schema and rebuild files/translations
In twilio_integration/twilio_integration/doctype/whatsapp_message/whatsapp_message.py
change line 35 from:
'status_callback': '{}/api/method/twilio_integration.twilio_integration.api.whatsapp_message_status_callback'.format(get_site_url(frappe.local.site))
to:
'status_callback': '{}/api/method/twilio_integration.twilio_integration.api.whatsapp_message_status_callback'.format(frappe.utils.get_url())