__dirname 走 dist 编译产物路径(dev: dist/modules/sync, prod 容器同), 向上 ../../../data 会越界到不存在的 dist/data。改用 cwd/data — 两态(dev/prod)cwd 都是 apps/pac-service 根,稳定指向源 data 目录。
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| cli | Loading commit data... | |
| common | Loading commit data... | |
| config | Loading commit data... | |
| modules | Loading commit data... | |
| openapi | Loading commit data... | |
| prisma | Loading commit data... | |
| queues | Loading commit data... | |
| redis | Loading commit data... | |
| app.module.ts | Loading commit data... | |
| health.controller.ts | Loading commit data... | |
| main.ts | Loading commit data... |