can we make it work like this ?
after index.js I add – --webhook
One way to handle this right now is through environment variables. It might work but depends on your implementation. We are working on a feature that allows you to pass arguments to your script. This will be released either later today or tomorrow.
Checkout the latest release and see if it does what you need. We have implemented this feature based on your feedback, so thank you. Let us know how we can improve it further.
it s seems confuse.
how to add argument ?
- if for pm2 we need use – -- webhook ?
- how to start index.js from /src/
You can go to webapp settings and change entry point to