Skip to content
This repository was archived by the owner on Jan 6, 2023. It is now read-only.
This repository was archived by the owner on Jan 6, 2023. It is now read-only.

Move the HTTP Proxy code to a single function inside utils.js #122

Closed
@icyflame

Description

@icyflame

Right now, the line var proxy = process.env.proxy || process.env.HTTP_PROXY || null is repeated across the module. Also, the case is inconsistent in a lot of places. I can move all of the occurences into utils.js and call a function from there at the top of each file (such upload.js and refer to that for the rest of the file)

I will work on this, if you would be interested in this patch.

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