diff options
| author | Jason Cameron <git@jasoncameron.dev> | 2025-03-29 23:51:13 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-03-29 23:51:13 -0400 |
| commit | 5a07684f999fc192325567245b5c8a7fd66a27a6 (patch) | |
| tree | 92480b702c03feb491ab6a7c477d3d837d194ca0 /docs | |
| parent | 4bc00e5a658b26ed302ba7a697635652f10079a0 (diff) | |
| download | anubis-5a07684f999fc192325567245b5c8a7fd66a27a6.tar.xz anubis-5a07684f999fc192325567245b5c8a7fd66a27a6.zip | |
fix(logs): Correctly format listener address (#162)
* fix: Correctly format listener address (https://github.com/TecharoHQ/anubis/issues/93)
Handle addresses that include a hostname, not just ports. If
the address starts with a colon, assume it's just a port and
prefix it with "http://localhost". Otherwise, prefix the
entire address with "http://". This ensures that the listener
URL is correctly formatted regardless of whether it includes
a hostname or just a port.
Signed-off-by: Jason Cameron <git@jasoncameron.dev>
* chore(docs): add changelog entry
Signed-off-by: Jason Cameron <git@jasoncameron.dev>
---------
Signed-off-by: Jason Cameron <git@jasoncameron.dev>
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/docs/CHANGELOG.md | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/docs/CHANGELOG.md b/docs/docs/CHANGELOG.md index a11650d..0ac4eee 100644 --- a/docs/docs/CHANGELOG.md +++ b/docs/docs/CHANGELOG.md @@ -22,6 +22,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Verification page now shows hash rate and a progress bar for completion probability. - Added the `--debug-benchmark-js` flag for testing proof-of-work performance during development. - Use `TrimSuffix` instead of `TrimRight` on containerbuild +- Fix the startup logs to correctly show the address and port the server is listening on - Add [LibreJS](https://www.gnu.org/software/librejs/) banner to Anubis JavaScript to allow LibreJS users to run the challenge ## v1.15.0 |
