chore(config): default to chat.ethora.com hosts after prod migration#67
Open
chore(config): default to chat.ethora.com hosts after prod migration#67
Conversation
Production has migrated from *.ethoradev.com to *.chat.ethora.com.
This is a small, focused change that just updates the package's
built-in default hosts so consumers who do not pass a custom
baseUrl / xmppSettings stop landing on the dead cluster.
Files touched (src/* + root config.ts only):
- config.ts, src/config.ts: API base URL, XMPP host, conference, domain
defaults switched to chat.ethora.com.
- src/App.tsx: APP_CHAT_BASE_CONFIG defaults updated; the second
ReduxWrapper config block also moved to api.chat.ethora.com.
- src/AppWithNav.tsx: commented JID examples (kept verbatim, only host
rewritten so they remain accurate references).
- src/api.config.{ts,js}: defRoom example JIDs updated to the new
conference host.
- src/hooks/usePushNotifications.ts: conference fallback updated.
- src/networking/xmpp/subscribeToRoomMessages.xmpp.ts: commented IQ
example updated.
- src/assets/test.xml: replaced the leaked private host
case-any-place-iframe-xmpp-dev.atomwcapps.com with xmpp.example.com,
and rewrote remaining xmpp.ethoradev.com / dev.xmpp.ethoradev.com
entries to xmpp.chat.ethora.com so the fixture is generic and safe.
Out of scope for this PR (intentional):
- lib/src/* (compiled output) — to be regenerated when this lands and
the package version is bumped.
- src/utils/clientRegistry.ts — refactored on tf-dev (not on main yet);
the new fallback host added there will be migrated alongside that
refactor.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Production has migrated from
*.ethoradev.comto*.chat.ethora.com. This PR is a small, focused update to the package's built-in default hosts so that any consumer of@ethora/chat-componentwho does not overridebaseUrl/xmppSettingsautomatically targets the new prod cluster instead of the dead one.This is a tighter subset of the broader chat.ethora.com migration work currently sitting on `tf-dev`. It is intentionally extracted into its own PR so it can be reviewed and merged quickly without coupling to the rest of the `tf-dev` work.
Changes
Files touched (all in `src/*` plus root `config.ts`):
Out of scope (intentional)
Companion changes already landed elsewhere
Test plan