Closed tmonfre closed 4 years ago
one more thing -- I have a 404 middleware set up for unknown routes at the bottom ish of server.js. Is there a way you prefer to have that set up? It currently isn't using the error code interface you defined in constants/
.
one more thing -- I have a 404 middleware set up for unknown routes at the bottom ish of server.js. Is there a way you prefer to have that set up? It currently isn't using the error code interface you defined in
constants/
.
I'll update it to send a custom 404 message using the error code interface
@jeffzyliu updated to address your comments. thanks!
Description
Type of Change
Tickets