Quantcast
Viewing all articles
Browse latest Browse all 37

Answer by JohnP for Error in creating a websocket connection within a hybrid app

The solution to this is to use the httpd module in Trigger.

Setting up the httpd server makes the app be served with a http://localhost URL instead of the contents: or file: protocol. With this in place, whatever Chrome CSP issue was blocking the connection is lifted.

Module docs : https://trigger.io/modules/httpd/current/


Viewing all articles
Browse latest Browse all 37

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>