Getting started
Local development
Run your local setup inside of a Whop iFrame with the Whop proxy
If you are building a Whop app inside of our website, you can use this proxy to run your local setup inside of a Whop iFrame. You can use this proxy with any application written in any language, not just javascript.
Install
Run
If you are using NPM, you need to add "whop-proxy": "whop-proxy"
to
the scripts section of your package.json
file.
If you are running a running any app with a pnpm dev
script:
If you are using NPM, you need to add "whop-proxy": "whop-proxy"
to
the scripts section of your package.json
file.
If you are running an app that does not have a pnpm dev
script, for example, a Ruby on Rails app on port 3001:
Configure
The proxy can be configured using the following command line options: