Skip to content

Feature Request: sendFile without serving anything #20

@ilyaigpetrov

Description

@ilyaigpetrov

On my site each user has subdomain:

ilya.mysite.com/his/file
homer.mysite.com/index.html

I can't just tell serve this folder, I first retrieve username (homer), then serve his folder (users/homer). Ideally I would like to use reply.sendFile(path), but couldn't do it without specifying root folder (and serving file I don't want to server). Would be nice to have reply.sendFile separately from everything else.

Thanks!

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