We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce502fe commit e49850fCopy full SHA for e49850f
README.md
@@ -31,22 +31,19 @@ import { Module } from '@nestjs/common'
31
import { StorageModule, DriverType } from '@codebrew/nestjs-storage';
32
33
@Module({
34
- imports: [StorageModule.forRoot({
35
- module: AppModule,
36
- imports: [
37
- StorageModule.forRoot({
38
- default: 'local',
39
- disks: {
40
- local: {
41
- driver: DriverType.LOCAL,
42
- config: {
43
- root: process.cwd(),
44
- },
+ imports: [
+ StorageModule.forRoot({
+ default: 'local',
+ disks: {
+ local: {
+ driver: DriverType.LOCAL,
+ config: {
+ root: process.cwd(),
45
},
46
47
- }),
48
- ],
49
- })]
+ },
+ }),
+ ],
50
})
51
export class AppModule {
52
constructor(private storage: StorageServic) {
0 commit comments