Dynamic HTTP server that automatically handles URL to local resource path and content-type headers
-
Dynamically composes a response that automatically handles:
- Request URL local directory path. (ex. "http://exampe.com/fag.html" -> "./fag.html")
-
Polymorphic Content-Type header.
- reduces resource extension. (ex. "http://exampe.com/style.css" -> "text/css")
Clone and run
git clone https://github.com/RyleeHarrison/simple-fast-dynamic-http-server
cd simple-fast-dynamic-http-server
yarn start # or npm run start