feat: detect CORS errors and show actionable guidance on login

Distinguish CORS-blocked requests from genuine network failures using
a no-cors probe, so users deploying via Docker see a specific message
pointing to their JMAP server's CORS settings instead of a misleading
"unable to reach the server" error.
This commit is contained in:
Matthieu MALVACHE
2026-02-23 18:21:23 +01:00
committed by Matthieu MALVACHE
parent a0bb200da4
commit 913f673f73
12 changed files with 23 additions and 3 deletions
+1 -1
View File
@@ -22,6 +22,7 @@ This document tracks the development status and planned features for JMAP Webmai
### JMAP Server Connection
- [x] Session establishment and keep-alive
- [x] Connection error handling and retries
- [x] CORS error detection with actionable user guidance
- [x] Storage quota display
- [x] Server capability detection
- [x] Shared folders support (multi-account access)
@@ -250,7 +251,6 @@ This document tracks the development status and planned features for JMAP Webmai
### Security Enhancements
- [ ] Rate limiting
- [ ] CORS configuration
## Known Issues