Skip to content

devServer https options not performing #4912

Closed
@anilcan-kara

Description

@anilcan-kara

Version

4.1.1

What is actually happening?

node_modules\webpack-dev-server\lib\Server.js
Line 555:

  setupHttps() {
    console.log('options:', this.options);
    // if the user enables http2, we can safely enable https
    if (this.options.http2 && !this.options.https) {
      this.options.https = true;
    }
$ vue-cli-service serve --mode development --https --dashboard
 INFO  Starting development server...

[webpack.Progress] 0% compiling

options: {
  logLevel: 'silent',
  clientLogLevel: 'silent',
  historyApiFallback: { disableDotRule: true, rewrites: [ [Object] ] },
  contentBase: 'C:\\path\\to',
  watchContentBase: true,
  hot: true,
  compress: false,
  publicPath: '/',
  overlay: { warnings: false, errors: true },
  https: true,             <<<------ True from VUE UI serve settings
  proxy: undefined,
  before: [Function: before],
  open: false,
  transportMode: { server: 'sockjs', client: 'sockjs' },
  watchOptions: {}
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions