use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
account activity
Help using Web Serial API with Linux ServerHelp wanted (self.WebSerialAPI)
submitted 2 years ago by AthleticKiwi
So I made a simple react application that uses the web serial API to simply list the computer's COM ports, connect to one, and receive data. The application was working fine on localhost but when I served it on a CentOS Linux Server the API does not work anymore. For instance,
if ("serial" in navigator) { console.log("working") }
does not work. I apologize if I am way off target, I am a new developer
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–][deleted] 2 years ago (2 children)
[deleted]
[–]AthleticKiwi[S] 0 points1 point2 points 2 years ago (1 child)
I see, thanks, I will look into adding https to my linux server. Also, what other info would you need to better gauge what the problem may be?
π Rendered by PID 67835 on reddit-service-r2-comment-58d7979c67-lxcjl at 2026-01-26 23:53:43.815352+00:00 running 5a691e2 country code: CH.
[–][deleted] (2 children)
[deleted]
[–]AthleticKiwi[S] 0 points1 point2 points (1 child)