Migrate blichess to Capacitor 6. Handling https issue #7826
-
In order to release Ported version compiles and works fine: Adding to capacitor.config.ts (according to https://capacitorjs.com/docs/guides/autofill-credentials#set-capacitor-server-hostname):
helps a bit (solve Is here any breakthrough change between Capacitor 5 and 6 for https handling? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
If you set the hostname to the same url your remote server is located, the requests won't reach your server as any request to There has always been CORS "problems" when using with Capacitor, since version 1, it's not really a Capacitor issue but a WebView issue, nothing has changed from Capacitor 5 to Capacitor 6 to cause CORS errors, you should have had CORS errors in Capacitor 5 already. |
Beta Was this translation helpful? Give feedback.
Fixed by:
@jcesarmobile thank You so much for help!