mirror of
https://github.com/strapi/strapi.git
synced 2025-12-12 15:32:42 +00:00
Ignore API public directories in dictionary
This commit is contained in:
parent
b2ae87f26e
commit
fd6e907fc7
@ -72,6 +72,7 @@ module.exports = function (strapi) {
|
||||
'api/**': function (cb) {
|
||||
dictionary.optional({
|
||||
dirname: path.resolve(strapi.config.appPath, strapi.config.paths.api),
|
||||
excludeDirs: /(public)$/,
|
||||
filter: /(.+)\.(js|json)$/,
|
||||
depth: 4
|
||||
}, cb);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user