Replies: 1 comment 3 replies
-
Looks like you answered your own question on how to use
smee.io can only proxy GitHub's webhook request, it cannot proxy request for custom routes. If you want to make your local server accessible from the outside, I'd recommend looking into https://github.com/localtunnel/localtunnel or https://ngrok.com/ |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm considering add serveral custom route in probot , so I decided to use
Server
to do it .according to the doc: https://github.com/probot/probot/blob/master/docs/development.md#use-server
I created a file named
custom.ts
and used
probot run ./lib/custom.js
as I'm using tsbut seems everything I write in index.ts is gone , when I opened an issue, nothing happend.
and the custom route is also showing 404, seems the registration was not successful.
is there anything I did wrong ?
ah, I just changed the code , instead of
return server
, I changed it toserver.start()
and then use
node ./lib/custom.js
, it could be running , the custom route seems to be present, but the problem is I cannot use smee.io to redirect and test webhooks, is that a way to achive that with custom routes?Beta Was this translation helpful? Give feedback.
All reactions