mcfly-io / generator-mcfly

A Yeoman generator for scaffolding an application using angular, browserify, ionic and famous

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

add https option to serve and browsersync config

ghaiat opened this issue · comments

in constants.js

serve: {
host: 'localhost', //'0.0.0.0',
port: 5000,
open: true,
https:true,

in serve.js

host: constants.serve.host,
port: constants.serve.port,
https: constants.serve.https,

ideally, we should add an option to browsersync to switch beetween https and http