Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gogs support #11

Open
yeleleo opened this issue Nov 10, 2023 · 2 comments
Open

Gogs support #11

yeleleo opened this issue Nov 10, 2023 · 2 comments

Comments

@yeleleo
Copy link

yeleleo commented Nov 10, 2023

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> &nbsp; &nbsp;at JSON.parse (&lt;anonymous&gt;)<br> &nbsp; &nbsp;at /index.js:23:24<br> &nbsp; &nbsp;at Layer.handle [as handle_request] (/node_modules/express/lib/router/layer.js:95:5)<br> &nbsp; &nbsp;at next (/node_modules/express/lib/router/route.js:137:13)<br> &nbsp; &nbsp;at Route.dispatch (/node_modules/express/lib/router/route.js:112:3)<br> &nbsp; &nbsp;at Layer.handle [as handle_request] (/node_modules/express/lib/router/layer.js:95:5)<br> &nbsp; &nbsp;at /node_modules/express/lib/router/index.js:281:22<br> &nbsp; &nbsp;at Function.process_params (/node_modules/express/lib/router/index.js:335:12)<br> &nbsp; &nbsp;at next (/node_modules/express/lib/router/index.js:275:10)<br> &nbsp; &nbsp;at urlencodedParser (/node_modules/body-parser/lib/types/urlencoded.js:82:7)</pre>
</body>
</html>
@backmeupplz
Copy link
Owner

hm, probably worth rewriting the whole thing anyway, it should be like 10 lines of code after the rewrite

@yeleleo
Copy link
Author

yeleleo commented Nov 17, 2023

I (and community) would really appreciate the version which support Gogs hooks!
Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants