File tree Expand file tree Collapse file tree 1 file changed +21
-0
lines changed
redisinsight/api/src/modules/statics-management Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -34,6 +34,27 @@ const CONTENT_CONFIG = config.get('content');
34
34
fallthrough : false ,
35
35
} ,
36
36
} ) ,
37
+ ServeStaticModule . forRoot ( {
38
+ serveRoot : SERVER_CONFIG . defaultPluginsUri ,
39
+ rootPath : join ( PATH_CONFIG . defaultPlugins ) ,
40
+ serveStaticOptions : {
41
+ fallthrough : false ,
42
+ } ,
43
+ } ) ,
44
+ ServeStaticModule . forRoot ( {
45
+ serveRoot : SERVER_CONFIG . customPluginsUri ,
46
+ rootPath : join ( PATH_CONFIG . customPlugins ) ,
47
+ serveStaticOptions : {
48
+ fallthrough : false ,
49
+ } ,
50
+ } ) ,
51
+ ServeStaticModule . forRoot ( {
52
+ serveRoot : SERVER_CONFIG . pluginsAssetsUri ,
53
+ rootPath : join ( PATH_CONFIG . pluginsAssets ) ,
54
+ serveStaticOptions : {
55
+ fallthrough : false ,
56
+ } ,
57
+ } ) ,
37
58
] ,
38
59
providers : [
39
60
{
You can’t perform that action at this time.
0 commit comments