Skip to content

Refactor to remove the need for a PassThrough stream #15

Closed
@mcollina

Description

@mcollina

in fastify-static, we need a PassThrough object to convert Send to an actual Writable:

https://github.com/fastify/fastify-static/blob/master/index.js#L113-L140

I think this module should be refactored to in combination with fastify-static to remove the need for the wrapper completely.

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