mirror of
https://github.com/crystelf/crystelf-core.git
synced 2025-07-04 06:39:18 +00:00
修改env
This commit is contained in:
parent
b950e57e20
commit
81f85de677
2
.idea/crystelf-core.iml
generated
2
.idea/crystelf-core.iml
generated
@ -5,6 +5,8 @@
|
|||||||
<excludeFolder url="file://$MODULE_DIR$/.tmp" />
|
<excludeFolder url="file://$MODULE_DIR$/.tmp" />
|
||||||
<excludeFolder url="file://$MODULE_DIR$/temp" />
|
<excludeFolder url="file://$MODULE_DIR$/temp" />
|
||||||
<excludeFolder url="file://$MODULE_DIR$/tmp" />
|
<excludeFolder url="file://$MODULE_DIR$/tmp" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/logs" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/private" />
|
||||||
</content>
|
</content>
|
||||||
<orderEntry type="inheritedJdk" />
|
<orderEntry type="inheritedJdk" />
|
||||||
<orderEntry type="sourceFolder" forTests="false" />
|
<orderEntry type="sourceFolder" forTests="false" />
|
||||||
|
@ -3,7 +3,7 @@ import logger from './logger';
|
|||||||
|
|
||||||
class ConfigManger {
|
class ConfigManger {
|
||||||
private static instance: ConfigManger;
|
private static instance: ConfigManger;
|
||||||
private env: NodeJS.ProcessEnv;
|
private readonly env: NodeJS.ProcessEnv;
|
||||||
|
|
||||||
private constructor() {
|
private constructor() {
|
||||||
dotenv.config();
|
dotenv.config();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user