mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2026-07-25 17:34:52 +10:00
refactor(v4.0.0-alpha): beginning of a new era
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
import { Module } from "@nestjs/common";
|
||||
import { ConfigModule as NestConfigModule } from "@nestjs/config";
|
||||
|
||||
import { configSchema } from "./schema";
|
||||
|
||||
@Module({
|
||||
imports: [
|
||||
NestConfigModule.forRoot({
|
||||
isGlobal: true,
|
||||
expandVariables: true,
|
||||
validate: configSchema.parse,
|
||||
}),
|
||||
],
|
||||
})
|
||||
export class ConfigModule {}
|
||||
Reference in New Issue
Block a user