Last 12 weeks · 0 commits
5 of 6 standards met
Safari Mobile wont load the JS because the webserver doesnt return proper headers (HTTP/1.1 200", "OK"). With no headers safari assumes its an "old webserver" and runs the webpage in a sandbox environment and disables javascript. I had a look through the code and seen you incorperated another HTTP server project, and modified it to stream the files form the content directory. I also noticed you commented out the p.writesuccess() lines (which seem to handle headers). I re-enabled that line, but now the headers are being printed in plain text on the pages and still are not passing properly to the browser. Any ideas of how to get headers to populate properly? Thanks!
Repository: antfu/input-remote. Description: Control your PC with your smartphone, a HID input sharing tool. Stars: 19, Forks: 3. Primary language: C#. Languages: C# (79.6%), JavaScript (14%), CSS (3.3%), HTML (2.9%), Batchfile (0.2%). License: MIT. Topics: hid, keyboard, phone, remote-control, touchpad, windows. Latest release: v0.1.3-beta (9y ago). Open PRs: 1, open issues: 1. Last activity: 6y ago. Community health: 85%. Top contributors: antfu, sanmuru.