mirror of
https://github.com/stolksdorf/homebrewery.git
synced 2025-12-13 20:25:58 +00:00
adding in some api tests
This commit is contained in:
@@ -36,6 +36,9 @@ app.use(require('./server/interface.routes.js'));
|
||||
//app.use(require('./server/admin.api.js'));
|
||||
|
||||
|
||||
//Error Handler
|
||||
app.use(require('./server/error.js').expressHandler);
|
||||
|
||||
const PORT = process.env.PORT || 8000;
|
||||
app.listen(PORT);
|
||||
console.log(`server on port:${PORT}`);
|
||||
Reference in New Issue
Block a user