mirror of
https://github.com/PretendoNetwork/website.git
synced 2026-04-24 15:37:12 -05:00
oops
This commit is contained in:
parent
e52ccfdfd8
commit
5703e42de2
|
|
@ -17,11 +17,6 @@ function sendReturn(response, data, errors) {
|
|||
);
|
||||
}
|
||||
|
||||
// shows 404 template. takes express response object
|
||||
function send404(res) {
|
||||
res.status(404).send('404');
|
||||
}
|
||||
|
||||
// use if api endpoint doesnt exist
|
||||
function sendApi404(response) {
|
||||
response.status(404).json({
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user