mirror of https://github.com/fantasticit/think.git
server: remove unused code
This commit is contained in:
parent
86ca7c7fd2
commit
319fb50ab3
|
@ -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({
|
||||||
|
|
Loading…
Reference in New Issue