GitBulletin

Repository: farcasterxyz/hub-monorepo

Revolutionary Update Unveils New `--announce-rpc-port` Flag for Hubble Users!

2024-09-28 20:12:54 UTC

This groundbreaking feature enhances reverse proxy support, ensuring seamless communication for hub configurations across the internet!

Commit Details:

feat: Add `--announce-rpc-port` flag (#2342) ## Why is this change needed? When using a reverse proxy with hubs, the RPC port the hub itself binds to might be different than the port needed to communicate with the hub on the public internet. Allow overriding via the `--announce-rpc-port` flag. ## Merge Checklist - [x] PR title adheres to the [conventional commits](https://www.conventionalcommits.org/en/v1.0.0/) standard - [x] PR has a [changeset](https://github.com/farcasterxyz/hub-monorepo/blob/main/CONTRIBUTING.md#35-adding-changesets) - [x] PR has been tagged with a change label(s) (i.e. documentation, feature, bugfix, or chore) - [x] PR includes [documentation](https://github.com/farcasterxyz/hub-monorepo/blob/main/CONTRIBUTING.md#32-writing-docs) if necessary. <!-- start pr-codex --> --- ## PR-Codex overview This PR introduces a new flag `--announce-rpc-port` for the `Hubble` application, updates documentation, and modifies the handling of RPC port configurations to enhance functionality and improve usability with reverse proxies. ### Detailed summary - Added `announceRpcPort` property to the `Hub` class. - Updated comments for `rpcPort` to clarify its role as the RPC Server port. - Introduced `--announce-rpc-port` flag in the CLI options. - Updated the handling of `announceRpcPort` in the application configuration. - Enhanced documentation for CLI commands and options. > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->

Search Similar