mirror of
https://github.com/engineer-man/piston.git
synced 2025-04-21 12:36:28 +02:00
404 error
This commit is contained in:
parent
62ce090b91
commit
487bde6526
1 changed files with 4 additions and 0 deletions
|
@ -109,6 +109,10 @@ const app = express();
|
|||
.send(runtimes);
|
||||
});
|
||||
|
||||
app.use(function (req,res,next){
|
||||
return res.status(404).send({message: 'Not Found'});
|
||||
});
|
||||
|
||||
logger.debug('Calling app.listen');
|
||||
const [ address, port ] = config.bind_address.split(':');
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue