Microsoft Teams配置选项卡在浏览器中呈现,但不在本机macOS应用程序中呈现

时间:2018-08-28 14:26:23

标签: microsoft-teams

我正在使用Microsoft Teams标签应用程序。在他们的Web客户端中安装我的应用程序时,我能够成功加载我的标签页配置页面。在macOS客户端中重复此工作流程失败,没有呈现任何内容。启用电子日志记录后,我看到以下输出:

[2998:0828/101101.014965:INFO:CONSOLE(113)] "Controller 'kbList' or 'kbSelect', required by directive 'kbItem', can't be found!", source: https://statics.teams.microsoft.com/hashedjs/0-angular-jquery.min-dafbbdf5.js (113) [2998:0828/101101.151096:INFO:CONSOLE(76)] "Unrecognized Content-Security-Policy directive 'prefetch-src'. ", source: https://statics.teams.microsoft.com/hashedjs/0-angular-jquery.min-dafbbdf5.js (76) [2998:0828/101101.151309:INFO:CONSOLE(76)] "Unrecognized Content-Security-Policy directive 'prefetch-src'. ", source: https://statics.teams.microsoft.com/hashedjs/0-angular-jquery.min-dafbbdf5.js (76) [2998:0828/101101.223595:INFO:CONSOLE(76)] "Uncaught (in promise) undefined", source: https://statics.teams.microsoft.com/hashedjs/0-angular-jquery.min-dafbbdf5.js (76) [2998:0828/101101.223676:INFO:CONSOLE(76)] "Uncaught (in promise) undefined", source: https://statics.teams.microsoft.com/hashedjs/0-angular-jquery.min-dafbbdf5.js (76) [2998:0828/101101.400452:INFO:CONSOLE(0)] "Application Cache Checking event", source: https://teams.microsoft.com/_#/conversations/General?threadId=19:c63e6abc4e4b4474a991c921adf0ce77@thread.skype&ctx=channel (0) [2998:0828/101101.469231:INFO:CONSOLE(0)] "Application Cache NoUpdate event", source: https://teams.microsoft.com/_#/conversations/General?threadId=19:c63e6abc4e4b4474a991c921adf0ce77@thread.skype&ctx=channel (0)

由于未记录任何内容,因此我的Rails应用似乎从未真正收到对iframed内容的请求。

1 个答案:

答案 0 :(得分:0)

我在本地运行应用程序,但没有意识到本地客户端需要外部可访问的URI。使用ngrok解决了我的问题

https://docs.microsoft.com/en-us/microsoftteams/platform/resources/general/debug#locally-hosted