fix(server): apply env overrides after all config merged (#5795)

This commit is contained in:
liuyi
2024-02-04 06:38:31 +00:00
parent 899528dcfd
commit d9c2dc8dfb
7 changed files with 19 additions and 9 deletions
+2 -2
View File
@@ -11,8 +11,8 @@
// > Configurations merge order
// 1. load environment variables (`.env` if provided, and from system)
// 2. load `src/fundamentals/config/default.ts` for all default settings
// 3. apply `./affine.env.ts` patches
// 4. apply `./affine.ts` patches (this file)
// 3. apply `./affine.ts` patches (this file)
// 4. apply `./affine.env.ts` patches
//
//
// ###############################################################