mirror of
https://github.com/azures04/crafatar.git
synced 2026-03-21 23:41:18 +01:00
print 'Not found' on invalid path
This commit is contained in:
parent
c02d3d33e9
commit
24cfc03811
@ -32,7 +32,11 @@ function asset_request(req, callback) {
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
callback({});
|
callback({
|
||||||
|
body: "Not found",
|
||||||
|
status: -2,
|
||||||
|
code: 404,
|
||||||
|
});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user