Vimeo嵌入播放器不在Express Proxy Middleware上工作
我有VimeOplayer的嵌入链接,我想将Express Server用作代理。我添加了端点,哪些固定位置为Vimeo嵌入链接。我的代码在我的本地计算机上工作正常,但是在服务器上有时它将其重定向到Vimeo Home Page(Vimeo.com)。我正在使用HTTP-Proxy-Middleware NPM软件包,并且已经在服务器上使用Kubernetes进行了Docker部署。请让我知道,我可以采取什么步骤来阻止它重定向,并且我的代理人的行为表现为
代码,
app.use(``/test-vimeo',proxy'',procexy({target:`https:'https:/https:/https:/ /player.vimeo.com/video/709386126?h=21417feddb`,changeorigin:true}))
I have the embed links for vimeoplayer i want to use my express server as proxy. I have added the endpoint which bascially proxies to vimeo embed link. My code is working fine on my local machine but on server sometimes it redirects to vimeo home page(vimeo.com).I am using http-proxy-middleware npm package and have done docker deployment using kubernetes on server. kindly let me know what steps can i take to stop it from redirecting and my proxy behave as it is intended to behave
Code is attached
app.use(`/test-vimeo`, proxy({target: `https://player.vimeo.com/video/709386126?h=21417feddb`,changeOrigin: true}))
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论