Commit 5e7acfb5 authored by Aral Balkan's avatar Aral Balkan

Minor fix in readme: replace httpsServer reference

parent 29fcb8f8
......@@ -45,7 +45,7 @@ If you specify the `--global` flag, globally-trusted Let’s Encrypt TLS certifi
### API
Indie Web Server’s `createServer` method behaves like the built-in _https_ module’s `createServer` function. Anywhere you use `https.createServer`, you can simply replace it with `httpsServer.createServer`.
Indie Web Server’s `createServer` method behaves like the built-in _https_ module’s `createServer` function. Anywhere you use `require('https').createServer`, you can simply replace it with `require('@ind.ie/web-server').createServer`.
#### createServer([options], [requestListener])
......
{
"name": "@ind.ie/web-server",
"version": "6.0.1",
"version": "6.0.2",
"description": "A secure and seamless Small Tech personal web server.",
"main": "index.js",
"bin": "bin/web-server.js",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment