What does plumberDeploy::do_forward() do?

This may be a silly question but I'm new to all this. I want to make sure I understand what plumberDeploy::do_forward() does. My setup:

  • I have a plumber app deployed on Digital Ocean
  • I have a custom domain name
  • I've set up https
  • I can access the API at https://mydomain.com/myplumberproject/endpoint.
  • But I want to be able to access it without the /myplumberproject bit. So https://mydomain.com/endpoint.

Is this where do_forward() comes in? Can I use do_forward(my_droplet, "myplumberproject")?

yes, you can also deploy the api using do_deploy_api with forward = TRUE it does the same thing.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.