HeadlessNotFoundController
class HeadlessNotFoundController (View source)
Answers every miss on a headless install, where there is no web interface to render a 404 page with.
Deliberately does not extend BaseController, whose constructor connects to the database unconditionally: with the interface disabled, misses are the bulk of unsolicited traffic and none of them reads anything.
Constants
| private MESSAGE |
|
Methods
void
run()
No description
JsonResponse
buildResponse()
No description
Details
void
run()
No description
JsonResponse
buildResponse()
No description