8 ms·
These kind of servers are useful for quickly serving a folder of files locally. Security isn't a primary concern for these kind of use cases.
by nicoburns 3y ago
These kind of servers are useful for quickly serving a folder of files locally. Security isn't a primary concern for these kind of use cases.
- tgv 3y ago$ python -m http.server
- inChargeOfIT 3y agoAssuming you have python installed on the system, yeah.
- joaomacp 3y agoor the node one: $ npm install http-server $ http-server .
- parminya 3y agoor the go one: $ go run github.com/eliben/static-server@latest
- chrismarlow9 3y agohttps://gist.github.com/willurd/5720255 https://gist.github.com/willurd/5720255
- PinguTS 3y agoThat is the argument of the first MVP by a startup and then it is their onlien product. I have this seen also in automotive. "This is no problem, because this is not connected to the Internet." Then a few years later you have a DefCon presentation "GM hack, you can control the whole car via the Internet".
- gabereiser 3y agoWhere are you hosting your client-side code? Let me see if I can shut it down…