javascript - Ignore self-signed SSL certificate in fetch -
i'm using fetch
in react-native app, , charles proxy debug network requests. in order use charles ssl, need configure fetch accept self-signed certificate generated charles.
how tell fetch ignore errors self-signed certificates when using https?
i fixed setting ssl certificates in simulator: > ssl proxying > install charles root certificate in ios simulators) in charles , happy!