Skip to content

Fix mobile host list behind reverse proxies#33

Open
ZacharyZcR wants to merge 1 commit into
Termix-SSH:mainfrom
ZacharyZcR:fix/support-876-ios-host-list-proxy
Open

Fix mobile host list behind reverse proxies#33
ZacharyZcR wants to merge 1 commit into
Termix-SSH:mainfrom
ZacharyZcR:fix/support-876-ios-host-list-proxy

Conversation

@ZacharyZcR

Copy link
Copy Markdown
Member

Summary

  • try the mobile host list endpoint through the configured host, ssh, and root API bases
  • reject unexpected non-host-list responses instead of treating them as an empty host list
  • keep probing when an earlier candidate returns an empty list so reverse-proxy path mismatches can still resolve to the real host service

Fixes Termix-SSH/Support#876.

Tests

  • git diff --check
  • npx eslint app/main-axios.ts (0 errors, existing warnings remain)
  • npx tsc --noEmit (fails on existing unrelated repo issues: missing expo-web-browser, WarpgateDialog toast callable type, TunnelManager optional endpointHost type)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] iOS app host list empty behind reverse proxy, works with direct LAN URL

1 participant