add remove method for aliases

This commit is contained in:
2023-07-30 00:50:42 +03:00
parent fb29813345
commit 70d95be227
23 changed files with 446 additions and 376 deletions

View File

@@ -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}`);
});