switch to executable sfs.js
This commit is contained in:
parent
3028bb6b39
commit
8efcd4686b
|
@ -6,12 +6,12 @@ Extremely minimal static file server and indexer. HTTP-only. Bring your own reve
|
|||
|
||||
## Installation
|
||||
|
||||
Clone. Install npm dependencies. Optionally symlink to `sfs` from somewhere in your `PATH`.
|
||||
Clone. Install npm dependencies. Optionally symlink to `sfs.js` from somewhere in your `PATH`.
|
||||
|
||||
## Usage
|
||||
|
||||
```
|
||||
sfs <port> [host]
|
||||
sfs.js <port> [host]
|
||||
```
|
||||
|
||||
Starts a server on the given `port` for the current working directory. Binds to localhost only unless `host` is specified.
|
||||
|
|
Loading…
Reference in New Issue