Getting started
Whop Proxy
How to use Whop Proxy
This proxy is designed to proxy traffic (ie requests) from an iframe to the localhost developer URL of the developer’s local development server. In the proxy, we fetch a user token and forward it to the app mimicking the behaviour of the Cloudflare proxy in production.
Usage
Install
These commands are already included in the @whop-apps/sdk
package. However, if you would like to install it on its own, you can run the following command:
Run
If you are using NPM, you need to add "whop-proxy": "whop-proxy"
to
the scripts section of your package.json
file.
Configure
The proxy can be configured using the following command line options:
Was this page helpful?