Page MenuHomePhabricator

[alias-server] log API requester and hostname
ClosedPublic

Authored by bytesofman on Mar 15 2023, 23:50.

Details

Reviewers
emack
Group Reviewers
Restricted Project
Commits
rABC120891af673c: [alias-server] log API requester and hostname
Summary

T2965

Fetch and log IP addresses and host names that hit the server

Test Plan

node index.js, navigate to localhost:5000/aliases, check logs. Note: you won't get a good IP address in local testing.

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable