Skip to content

changing routes and responses #501

@AienTech

Description

@AienTech

Hi there, thanks for this great project.

As the title suggests, I'd like to somehow change the routes (e.g remove the /hello) and if possible, change the response of the routes. As an example, instead of getting the full path of the not founded file:

{
"statusCode": 404,
"message": "File not found: /mnt/volume/..."
}

I'd like to return something like:

{
"status": 404,
"message": "file not found!"
}

is it possible to do that? and if yes, how? I tried to go through the documentation, but couldn't find any solutions for this one :)

thanks in advance

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