Fix custom code api url