我正在阅读 Twilio 入门指南https://www.twilio.com/docs/flex/quickstart/getting-started-plugin并且无法让 UI 显示 HTTP 站点(它适用于 HTTPS)。
flex.CRMContainer.defaultProps.uriCallback = (task) => {
return task
? `https://bing.com/?q=${task.attributes.name}` # this works
: 'http://www.your-site-here.com/api/your-api'; # this doesn't (but works when visited via browser)
}