ft_transcendence/src/icons/dist/run.js
maix0 37403d304a feat(shared): reworked shared library
Shared library is now access using `@shared/module`
2025-07-29 14:14:44 +02:00

14 lines
321 B
JavaScript

import fastify from "fastify";
import app from './app.js';
const start = async () => {
const f = fastify({ logger: true });
try {
await f.register(app, {});
await f.listen({ port: 80, host: '0.0.0.0' });
}
catch (err) {
f.log.error(err);
process.exit(1);
}
};
start();