mirror of
https://github.com/azures04/crafatar.git
synced 2026-05-06 11:00:39 +02:00
print 'Not found' on invalid path
This commit is contained in:
@@ -32,7 +32,11 @@ function asset_request(req, callback) {
|
||||
});
|
||||
});
|
||||
} else {
|
||||
callback({});
|
||||
callback({
|
||||
body: "Not found",
|
||||
status: -2,
|
||||
code: 404,
|
||||
});
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user