It is because http and https are not allowed in iOS as they are reserved schemas (reference). That is why Capacitor defaults to capacitor:// for iOS.
Why don’t you just allow the following Capacitor default origins in your backend?
-
capacitor://localhost- iOS -
http://localhost- Android