Skip to content

Commit 7250c03

Browse files
#RI-3656-add plugins to static server
1 parent 546b577 commit 7250c03

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

redisinsight/api/src/modules/statics-management/statics-management.module.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,13 @@ const CONTENT_CONFIG = config.get('content');
3434
fallthrough: false,
3535
},
3636
}),
37+
ServeStaticModule.forRoot({
38+
serveRoot: SERVER_CONFIG.defaultPluginsUri,
39+
rootPath: join(PATH_CONFIG.defaultPlugins),
40+
serveStaticOptions: {
41+
fallthrough: false,
42+
},
43+
}),
3744
],
3845
providers: [
3946
{

0 commit comments

Comments
 (0)