Skip to content

v2.2.0

Compare
Choose a tag to compare
@Potentii Potentii released this 30 Jul 17:03
· 4 commits to master since this release

HTTPS Support

W-SRVR now enables you to start a simple HTTPS server with the new https(options, is_file) method in the main Configurator:

const Configurator = require('w-srvr');
const server = new Configurator();

server
   .https({
      key:  './my-key.key',
      cert: './my-cert.crt'
   }, true)
   .start()
   // ...

Check out other examples here.