mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-11 20:08:37 +00:00
13 lines
249 B
TypeScript
13 lines
249 B
TypeScript
import 'reflect-metadata';
|
|
import 'dotenv/config';
|
|
|
|
import { getDefaultAFFiNEConfig, registerEnvs } from './config/default';
|
|
|
|
globalThis.AFFiNE = getDefaultAFFiNEConfig();
|
|
|
|
globalThis.AFFiNE.ENV_MAP = {
|
|
DATABASE_URL: 'db.url',
|
|
};
|
|
|
|
registerEnvs();
|