Skip to content

How to add parameters on middleware #122

@Faridalim

Description

@Faridalim

Hi, thanks for making Alfred. I think it looks very easy and similar to Express which is a huge plus for me.

I have one question here. I want to add some auth middleware with roles in it. I can add this in express like in below picture
image

Could you guide me to do that in Alfred please? How to add parameters in middleware? Thank you..

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