fix(server): resolve zh-TW default language, close lint gap on bracket env access

This commit is contained in:
jubnl
2026-07-25 16:19:15 +02:00
parent f539c2aab7
commit e162da6dbe
6 changed files with 27 additions and 3 deletions
+7
View File
@@ -10,6 +10,13 @@
*
* Consumption pattern:
* constructor(@Inject(httpConfig.KEY) private readonly http: ConfigType<typeof httpConfig>) {}
*
* NOTE: today only httpConfig has a DI consumer (bootstrap.ts threads it into
* the pre-init middleware); the migrated call sites otherwise read through
* readEnv() because they live in classes whose unit tests instantiate them
* directly. The full token set is provisioned deliberately — it is the
* sanctioned pattern for NEW Nest consumers of boot-stable config, not dead
* scaffolding to prune.
*/
import { registerAs } from '@nestjs/config';
import {