meain / gh-issues-to-rss

Convert github issues and prs into rss feed

Home Page:https://blog.meain.io/2021/releasing-gh-issues-to-rss/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to change listening port?

TehPeGaSuS opened this issue · comments

I can't seem to find a way to specify the listening port of the server.

Is that possible, since I already have port 8080 taken.

Cheers

This might not be the ideal interface, but you can set the PORT env variable before calling the binary.

PORT=8787 gh-issues-to-rss --server

That works for me. :D

It'd be nice to have something like gh-issues-to-rss --server --port 8787 instead, probably.

Yeah I agree, --port would be better. I might get around to it over the weekend. Do feel free to submit a PR if you are interested.

I'd love to, but unfortunately me and coding don't go along very well 😅

@TehPeGaSuS this should now be fixed