Skip to content

Commit

Permalink
v2.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
lukeed committed Dec 29, 2021
1 parent 43764f4 commit 628cd3d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion bump.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "2.0.0",
"version": "2.0.1",
"packages": [
"packages/sirv",
"packages/sirv-cli"
Expand Down
4 changes: 2 additions & 2 deletions packages/sirv-cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "sirv-cli",
"version": "2.0.0",
"version": "2.0.1",
"description": "A lightweight CLI program to serve static sites~!",
"repository": "lukeed/sirv",
"main": "index.js",
Expand Down Expand Up @@ -29,4 +29,4 @@
"sirv": "^2.0.0",
"tinydate": "^1.0.0"
}
}
}
6 changes: 3 additions & 3 deletions packages/sirv-cli/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,16 +61,16 @@ $ sirv --help
-I, --ignores Any URL pattern(s) to ignore "index.html" assumptions
-q, --quiet Disable logging to terminal
-H, --host Hostname to bind (default localhost)
-p, --port Port to bind (default 5000)
-p, --port Port to bind (default 8080)
-v, --version Displays current version
-h, --help Displays this message
Examples
$ sirv build --cors --port 8080
$ sirv build --cors --port 8888
$ sirv public --quiet --etag --maxage 31536000 --immutable
$ sirv public --http2 --key priv.pem --cert cert.pem
$ sirv public -qeim 31536000
$ sirv --port 8080 --etag
$ sirv --port 8888 --etag
$ sirv --host --dev
```
Expand Down

0 comments on commit 628cd3d

Please sign in to comment.