Skip to content

proxying vimeo player redirects to vimeo home page #797

@etizaz98

Description

@etizaz98

Checks

Describe the bug (be clear and concise)

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}))

Step-by-step reproduction instructions

run the proxy in docker

Expected behavior (be clear and concise)

it should proxy vimeo player link

How is http-proxy-middleware used in your project?

npm ls http-proxy-middleware

What http-proxy-middleware configuration are you using?

i am using version 2.0.0

What OS/version and node/version are you seeing the problem?

I am using Mac OS

Additional context (optional)

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions