Skip to content

fix(frontend): restore POST server discovery#1528

Merged
hmans merged 1 commit into
mainfrom
hmans/restore-post-discovery
Jul 14, 2026
Merged

fix(frontend): restore POST server discovery#1528
hmans merged 1 commit into
mainfrom
hmans/restore-post-discovery

Conversation

@hmans

@hmans hmans commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

Why

  • Chatto 0.4 servers reject GET server discovery with 405 Method Not Allowed, preventing remote login from the newer bundled frontend.

What changed

  • Restore Connect-Web's JSON POST default for public server discovery while leaving backend GET support intact.
  • Update the transport unit test and mounted Add Server dialog coverage to assert POST behavior; re-enable GET later via feat(frontend): re-enable GET server discovery #1527.

Test plan

  • mise x -- pnpm run build:api-types
  • mise x -- pnpm --filter chatto-frontend exec vitest --run src/lib/api-client-tests/server.spec.ts — 2 tests passed.
  • mise test-frontend — 245 files and 2,105 tests passed.

@hmans hmans merged commit 8534ba7 into main Jul 14, 2026
11 checks passed
@hmans hmans deleted the hmans/restore-post-discovery branch July 14, 2026 11:43
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.

1 participant