Skip to content

Comments

Allow HTTP Request to /stats and /stats.json route#342

Closed
Firaenix wants to merge 6 commits intowebtorrent:masterfrom
Firaenix:master
Closed

Allow HTTP Request to /stats and /stats.json route#342
Firaenix wants to merge 6 commits intowebtorrent:masterfrom
Firaenix:master

Conversation

@Firaenix
Copy link

What is the purpose of this pull request? (put an "X" next to item)

[ ] Documentation update
[ ] Bug fix
[X] New feature
[ ] Other, please explain:

What changes did you make? (Give an overview)
I extracted the "stats" route code into a function and allowed it to be called by the server.onHttpRequest method. This will allow easy extension of the bittorrent tracker by servers such as Express.

Which issue (if any) does this pull request address?
None that I am aware of.

Is there anything you'd like reviewers to focus on?
Whoever it may concern.

@github-actions
Copy link

Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?

@github-actions github-actions bot added the stale label Jul 22, 2021
@Firaenix Firaenix closed this Jul 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant