Search code examples
windowshttpsdevelopment-environmentaurelia

How to serve https Aurelia from development


I am using Microsoft Code and Aurelia-CLI and have a simple initial hello world project.

au run --watch

... serves the project over http

how can I serve it over https in development environment.

I am using Windows 10


Solution

  • add https: true to browserSync: aurelia_project/tasks/run.js

    browserSync({
       https: true,
       ....
    

    tested this on Linux only.