add remove method for aliases
This commit is contained in:
16
index.ts
16
index.ts
@@ -1,11 +1,13 @@
|
||||
import { app } from './app'
|
||||
import { logger } from './logger'
|
||||
import { app } from "./app";
|
||||
import { logger } from "./logger";
|
||||
|
||||
const port = app.get('port')
|
||||
const host = app.get('host')
|
||||
const port = app.get("port");
|
||||
const host = app.get("host");
|
||||
|
||||
process.on('unhandledRejection', (reason) => logger.error('Unhandled Rejection %O', reason))
|
||||
process.on("unhandledRejection", (reason) =>
|
||||
logger.error("Unhandled Rejection %O", reason),
|
||||
);
|
||||
|
||||
app.listen(port).then(() => {
|
||||
logger.info(`Feathers app listening on http://${host}:${port}`)
|
||||
})
|
||||
logger.info(`Feathers app listening on http://${host}:${port}`);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user