delete exclude main path
Browse files
app.js
CHANGED
@@ -30,7 +30,7 @@ const optsSwagger = {
|
|
30 |
version: '1.0.0'
|
31 |
}
|
32 |
},
|
33 |
-
exclude: [new RegExp(
|
34 |
path: '/docs',
|
35 |
scalarConfig: { favicon: '/favicon.ico' }
|
36 |
}
|
|
|
30 |
version: '1.0.0'
|
31 |
}
|
32 |
},
|
33 |
+
exclude: [new RegExp(optsStatic.prefix)],
|
34 |
path: '/docs',
|
35 |
scalarConfig: { favicon: '/favicon.ico' }
|
36 |
}
|