0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-16 20:26:19 -05:00
logto/packages/core/src/index.ts
Gao Sun a9ccfc738d
refactor: implement request id (#5813)
* refactor: implement request id

* refactor: fix tests

* refactor: add unit tests
2024-05-01 15:49:01 +00:00

6 lines
143 B
TypeScript

import dotenv from 'dotenv';
import { findUp } from 'find-up';
dotenv.config({ path: await findUp('.env', {}) });
await import('./main.js');