使用Express-Mesteams-host设置代理

发布于 2025-02-10 08:34:39 字数 842 浏览 1 评论 0原文

您能告诉我在使用@botdeclaration时如何配置代理,来自“ nofollow noreferrer”> express-msteams-host

基本上,我的服务器的网络流量必须通过代理URL进行路由,因为我已经有一个URL白名单。我只是在使用此软件包时寻找类似的选项。

这样的事情: https:// github。 com/microsoftgraph/msgraph-sdk-javaScript/blob/dev/src/iclientoptions.ts#l29 (我将其用于Microsoft Graph API)

express-msteams-host内部尝试要联系https://login.botframework.com,这就是问题所在。我的服务器位于公司网络中,而没有指定代理选项,该软件包无法连接到https://login.botframework.com

任何帮助都将不胜感激。

谢谢。

Can you tell me how can I configure the proxy while using @BotDeclaration from express-msteams-host?

Basically, my server's network traffic must be routed via a proxy URL because I have a URL whitelisting in place. I'm just looking for a similar option while using this package.

Something like this: https://github.com/microsoftgraph/msgraph-sdk-javascript/blob/dev/src/IClientOptions.ts#L29 (I'm using this for Microsoft Graph API)

express-msteams-host internally trying to reach https://login.botframework.com and that is where the issue is. My server is inside a corporate network and without specifying a proxy option the package can not connect to https://login.botframework.com

Any help is appreciated.

Thank You.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文