Commit 628cd3d 1 parent 43764f4 commit 628cd3d Copy full SHA for 628cd3d
File tree 3 files changed +6
-6
lines changed
3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 1
1
{
2
- "version" : " 2.0.0 " ,
2
+ "version" : " 2.0.1 " ,
3
3
"packages" : [
4
4
" packages/sirv" ,
5
5
" packages/sirv-cli"
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " sirv-cli" ,
3
- "version" : " 2.0.0 " ,
3
+ "version" : " 2.0.1 " ,
4
4
"description" : " A lightweight CLI program to serve static sites~!" ,
5
5
"repository" : " lukeed/sirv" ,
6
6
"main" : " index.js" ,
29
29
"sirv" : " ^2.0.0" ,
30
30
"tinydate" : " ^1.0.0"
31
31
}
32
- }
32
+ }
Original file line number Diff line number Diff line change @@ -61,16 +61,16 @@ $ sirv --help
61
61
-I, --ignores Any URL pattern(s) to ignore "index.html" assumptions
62
62
-q, --quiet Disable logging to terminal
63
63
-H, --host Hostname to bind (default localhost)
64
- -p, --port Port to bind (default 5000 )
64
+ -p, --port Port to bind (default 8080 )
65
65
-v, --version Displays current version
66
66
-h, --help Displays this message
67
67
68
68
Examples
69
- $ sirv build --cors --port 8080
69
+ $ sirv build --cors --port 8888
70
70
$ sirv public --quiet --etag --maxage 31536000 --immutable
71
71
$ sirv public --http2 --key priv.pem --cert cert.pem
72
72
$ sirv public -qeim 31536000
73
- $ sirv --port 8080 --etag
73
+ $ sirv --port 8888 --etag
74
74
$ sirv --host --dev
75
75
76
76
```
You can’t perform that action at this time.
0 commit comments