-
-
Notifications
You must be signed in to change notification settings - Fork 234
Open
Description
Is it possible to add a custom callback for when a endpoint does not exist? Currently it only returns "Not Found" and I wish to add more logic to this.
EDIT:
THorse.All('*',
procedure(Req: THorseRequest; Res: THorseResponse; Next: TProc)
begin
Res.Send('Custom Not Found');
end);This only works if a path is provided such as: http://localhost:8080/test/ but when it's just http://localhost:8080/ then it no longer works.
Metadata
Metadata
Assignees
Labels
No labels