Skip to content

Handling request when using a location #70

@AlexandreRio

Description

@AlexandreRio

Hi,

Correct me if I'm wrong but the callback method of the server is not called if the requested file does not exist and a location is specified?

I'm trying to implement a webserver having a Rest API . How can I use my callback function for request:path() matching /api/ and serving html files otherwise? (apart from rewriting the Handler processRequest function?)

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