server: remove unused code

This commit is contained in:
fantasticit 2022-06-04 22:40:43 +08:00
parent 86ca7c7fd2
commit 319fb50ab3
1 changed files with 0 additions and 3 deletions

View File

@ -25,7 +25,6 @@ import { Cron, ScheduleModule } from '@nestjs/schedule';
import { TypeOrmModule, TypeOrmModuleOptions } from '@nestjs/typeorm'; import { TypeOrmModule, TypeOrmModuleOptions } from '@nestjs/typeorm';
import { getConfig } from '@think/config'; import { getConfig } from '@think/config';
import * as fs from 'fs-extra'; import * as fs from 'fs-extra';
import * as lodash from 'lodash';
import { LoggerModule } from 'nestjs-pino'; import { LoggerModule } from 'nestjs-pino';
import * as path from 'path'; import * as path from 'path';
import pino from 'pino'; import pino from 'pino';
@ -55,8 +54,6 @@ const MODULES = [
ViewModule, ViewModule,
]; ];
console.log(lodash.get(getConfig(), 'oss.local.enable'));
@Module({ @Module({
imports: [ imports: [
ConfigModule.forRoot({ ConfigModule.forRoot({