Skip to content

Latest commit

 

History

History
7 lines (4 loc) · 502 Bytes

404.ejs.md

File metadata and controls

7 lines (4 loc) · 502 Bytes

views/404.ejs

This is the default "404: Not Found" page. User agents that don't "Accept" HTML will see a JSON version instead. You can customize the control logic for your needs in config/404.js.

Sails considers a request to be in a "404: Not Found" state when a user requests a URL which doesn't match any of your app's routes or blueprints. You can also trigger this response from one of your controllers or policies with: return res.notFound();