http-party / http-server

a simple zero-configuration command-line http server
MIT License
13.42k stars 1.48k forks source link

Modifies files in invisible way #792

Closed DVLP closed 2 years ago

DVLP commented 2 years ago

https://github.com/webmproject/libwebp-demo/tree/gh-pages Try running this example with http-server and then i.e. serve. http-server somehow modifies files on the fly. When trying to read their binary content they have bugs Tried on Windows 10, Chrome browser

DVLP commented 2 years ago

Closing as a non-issue. The project installs a service worker that modifies data on the fly. Using 127.0.0.1 instead of localhost or changing the port where the project works only once before installing the worker confirms this