(eslint): Removed trailing space at end of line 2.
This commit is contained in:
parent
8e3413fb95
commit
69809e284e
1 changed files with 3 additions and 1 deletions
|
|
@ -1,8 +1,10 @@
|
||||||
// @file run.ts
|
// @file run.ts
|
||||||
|
// @brief The entrypoint to the service.
|
||||||
|
|
||||||
// Entry point of the microservice, ran by the Dockerfile.
|
// Entry point of the microservice, ran by the Dockerfile.
|
||||||
|
|
||||||
import fastify, { FastifyInstance } from 'fastify';
|
import fastify, { FastifyInstance } from 'fastify';
|
||||||
|
import app from './app';
|
||||||
// TODO: Import the microservice app
|
// TODO: Import the microservice app
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -18,7 +20,7 @@ const start = async () => {
|
||||||
process.exit(143);
|
process.exit(143);
|
||||||
});
|
});
|
||||||
// TODO: Uncomment when app.ts will be import-able.
|
// TODO: Uncomment when app.ts will be import-able.
|
||||||
// await fastInst.register(app);
|
await fastInst.register(app);
|
||||||
await fastInst.listen({ port: 80, host: '0.0.0.0' });
|
await fastInst.listen({ port: 80, host: '0.0.0.0' });
|
||||||
}
|
}
|
||||||
catch (err) {
|
catch (err) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue