Skip to content

req.connection.encrypted is undefined in node:14 #223

@kyle-villeneuve

Description

@kyle-villeneuve

Need to replace with req.encrypted ? "https" : "http" or more succinctly req.protocol

var protocol = req.connection.encrypted ? "https" : "http";

tried to push my branch to make a PR but I got access denied, can an existing contributor pr this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions