Quantcast
Channel: User JohnP - Stack Overflow
Viewing all articles
Browse latest Browse all 37

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

$
0
0

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