mirror of
https://github.com/JonnyBro/JaBa.git
synced 2025-01-31 22:54:10 +05:00
fix: fixing config instance npt private
This commit is contained in:
parent
a0309c164a
commit
01b12023a1
1 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,7 @@ import { CONFIG_PATH } from "@/constants/index.js";
|
||||||
import logger from "@/helpers/logger.js";
|
import logger from "@/helpers/logger.js";
|
||||||
|
|
||||||
class ConfigService {
|
class ConfigService {
|
||||||
config = this.loadConfig();
|
private config = this.loadConfig();
|
||||||
|
|
||||||
get<T>(key: string): T {
|
get<T>(key: string): T {
|
||||||
const keys = key.split(".");
|
const keys = key.split(".");
|
||||||
|
|
Loading…
Reference in a new issue