diff --git a/package.json b/package.json index 73174cd..b777fbc 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "httpdir", - "version": "1.0.0", + "version": "1.0.1", "description": "Simple, zero dependency command-line HTTP server for static local files", "author": "Johan Satgé", "bin": { diff --git a/readme.md b/readme.md index 6f0ceb7..bad9847 100644 --- a/readme.md +++ b/readme.md @@ -45,6 +45,7 @@ This project uses [semver](http://semver.org/). | Version | Date | Notes | | --- | --- | --- | +| `1.0.1` | 2021-07-04 | Fix execution issue on Unix | | `1.0.0` | 2021-07-04 | Initial version | ## License diff --git a/src/index.js b/src/index.js index fd8f9a4..2ab59ec 100644 --- a/src/index.js +++ b/src/index.js @@ -1,3 +1,5 @@ +#!/usr/bin/env node + const fsp = require('fs').promises const http = require('http') const { log, color, printVersionAndExit, printHelpAndExit, nameAndVersion } = require('./log.js')