404
parent
7df3c6aea0
commit
4f57aee30b
|
@ -58,6 +58,8 @@ api.use('/panel', apiPanel);
|
||||||
const apiLiczacy = require('./apiLiczacy.js');
|
const apiLiczacy = require('./apiLiczacy.js');
|
||||||
api.use('/liczacy', apiLiczacy);
|
api.use('/liczacy', apiLiczacy);
|
||||||
|
|
||||||
|
api.all('*', function(req, res) {
|
||||||
|
res.send(404, {response: "Nie znaleziono"});
|
||||||
|
});
|
||||||
|
|
||||||
module.exports = api;
|
module.exports = api;
|
Loading…
Reference in New Issue