Closed laclance closed 2 years ago
Just try https://myapi.../ (no * after the final slash)
thanks, ya it seems * is only a prefix not a suffix.
is there a way to dynamically edit the policy? I will open up a new issue. https://github.com/capacitor-community/electron/issues/150
I have tried a bunch of security policies to connect to our api but always get refused, only on v4.
Refused to connect to 'https://myapi...' because it violates the following Content Security Policy directive: "connect-src 'self' https://myapi.../* 'unsafe-inline' 'unsafe-eval'".
v4.0.3 Chrome 94 Windows 10 React 17