feat(shared): reworked shared library
Shared library is now access using `@shared/module`
This commit is contained in:
parent
1bc33ab912
commit
37403d304a
56 changed files with 366 additions and 970 deletions
14
src/icons/dist/run.js
vendored
Normal file
14
src/icons/dist/run.js
vendored
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
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();
|
||||
Loading…
Add table
Add a link
Reference in a new issue