Skip to content

Plugin does not take into account HTTPS servers types #6

@loicraux

Description

@loicraux

I have the following setup in my webpack config file :

server: {
    type: 'https',
    options: {
        key: readFileSync(getHttpsServerOptionFilePath('localhost-certificate-key.pem')),
        cert: readFileSync(getHttpsServerOptionFilePath('localhost-certificate.pem'))
    }
},

As you can see, I am serving the local IPv4 LAN address with https, using a locally self signed cert (with mkcert).

But your plugin has hardcoded the http:// protocol for the address... See this line

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions