Open yeleleo opened 10 months ago
Thank you for your work!
Any chance you can add Gogs hooks support? https://gogs.io
Or maybe it has an option to receive hooks on a script-alike urls? http://{server-ip}:61439/repo-branch ?
Currently Gogs is showing error:
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>Error</title> </head> <body> <pre>SyntaxError: Unexpected token u in JSON at position 0<br> at JSON.parse (<anonymous>)<br> at /index.js:23:24<br> at Layer.handle [as handle_request] (/node_modules/express/lib/router/layer.js:95:5)<br> at next (/node_modules/express/lib/router/route.js:137:13)<br> at Route.dispatch (/node_modules/express/lib/router/route.js:112:3)<br> at Layer.handle [as handle_request] (/node_modules/express/lib/router/layer.js:95:5)<br> at /node_modules/express/lib/router/index.js:281:22<br> at Function.process_params (/node_modules/express/lib/router/index.js:335:12)<br> at next (/node_modules/express/lib/router/index.js:275:10)<br> at urlencodedParser (/node_modules/body-parser/lib/types/urlencoded.js:82:7)</pre> </body> </html>
hm, probably worth rewriting the whole thing anyway, it should be like 10 lines of code after the rewrite
I (and community) would really appreciate the version which support Gogs hooks! Thanks
Thank you for your work!
Any chance you can add Gogs hooks support? https://gogs.io
Or maybe it has an option to receive hooks on a script-alike urls? http://{server-ip}:61439/repo-branch ?
Currently Gogs is showing error: