Skip to content

Port parameters  #1

@krikoon73

Description

@krikoon73

By default, the library doesn't handle a specific port :

var uri = this.proto + '://' + this.host + this.url

Maybe change with :

var uri = this.proto + '://' + this.host + ':' + this.port + this.url;

And add a default value :

this.port = (typeof opts.port === 'string') ? opts.port : '443'

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