update docs
This commit is contained in:
2
LICENSE
2
LICENSE
@ -1,6 +1,6 @@
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2015 Lloyd Brookes <75pound@gmail.com>
|
||||
Copyright (c) 2013-16 Lloyd Brookes <75pound@gmail.com>
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
|
@ -444,6 +444,9 @@ Chrome and Firefox will still complain your certificate has not been verified by
|
||||
|
||||
Now you have a valid, trusted certificate for development.
|
||||
|
||||
#### Built-in certificate
|
||||
As a quick win, you can run `ws` with the `https` flag. This will launch an HTTPS server using a [built-in certificate](https://github.com/75lb/local-web-server/tree/master/ssl) registered to the domain 127.0.0.1.
|
||||
|
||||
### Stored config
|
||||
|
||||
Use the same options every time? Persist then to `package.json`:
|
||||
@ -591,6 +594,7 @@ Returns a Koa application you can launch or mix into an existing app.
|
||||
|
||||
**Kind**: Exported function
|
||||
**Params**
|
||||
|
||||
- [options] <code>object</code> - options
|
||||
- [.static] <code>object</code> - koa-static config
|
||||
- [.root] <code>string</code> <code> = "."</code> - root directory
|
||||
@ -638,4 +642,4 @@ The `from` and `to` routes are specified using [express route-paths](http://expr
|
||||
|
||||
* * *
|
||||
|
||||
© 2015 Lloyd Brookes <75pound@gmail.com>. Documented by [jsdoc-to-markdown](https://github.com/jsdoc2md/jsdoc-to-markdown).
|
||||
© 2013-16 Lloyd Brookes <75pound@gmail.com>. Documented by [jsdoc-to-markdown](https://github.com/jsdoc2md/jsdoc-to-markdown).
|
||||
|
@ -444,6 +444,9 @@ Chrome and Firefox will still complain your certificate has not been verified by
|
||||
|
||||
Now you have a valid, trusted certificate for development.
|
||||
|
||||
#### Built-in certificate
|
||||
As a quick win, you can run `ws` with the `https` flag. This will launch an HTTPS server using a [built-in certificate](https://github.com/75lb/local-web-server/tree/master/ssl) registered to the domain 127.0.0.1.
|
||||
|
||||
### Stored config
|
||||
|
||||
Use the same options every time? Persist then to `package.json`:
|
||||
@ -589,4 +592,4 @@ serving at http://localhost:8100
|
||||
|
||||
* * *
|
||||
|
||||
© 2015 Lloyd Brookes <75pound@gmail.com>. Documented by [jsdoc-to-markdown](https://github.com/jsdoc2md/jsdoc-to-markdown).
|
||||
© 2013-16 Lloyd Brookes <75pound@gmail.com>. Documented by [jsdoc-to-markdown](https://github.com/jsdoc2md/jsdoc-to-markdown).
|
||||
|
Reference in New Issue
Block a user