I want to use an iPhone to open a local html file on my MacBook Pro by scanning a QR code. The html file path (e.g. 1) is supplied to a QR code generator (http://davidshimjs.github.io/qrcodejs/). I launch the server in terminal using node.js
by launching the http-server
, display the QR code on my MacBook Pro and scan it with my iPhone
e.g. 1
<input id="text" type="text" value="http://127.0.0.1:8080/Users/gs/dekanies/Dekany/“satGam2606.html style="width:80%" />
It fails to read the file path beyond http://127.0.0.1
What am I doing wrong ?