mirror of
https://github.com/strapi/strapi.git
synced 2025-09-26 17:00:55 +00:00
Fix load settings manager
This commit is contained in:
parent
c3f561fded
commit
996decce0a
12335
packages/strapi-helper-plugin/package-lock.json
generated
12335
packages/strapi-helper-plugin/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
17853
packages/strapi-plugin-settings-manager/package-lock.json
generated
17853
packages/strapi-plugin-settings-manager/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -49,7 +49,7 @@ module.exports = {
|
|||||||
|
|
||||||
optionalPath: path => {
|
optionalPath: path => {
|
||||||
return path
|
return path
|
||||||
.replace(/(.settings|.json|.js)/g, '')
|
.replace(/(\.settings|.json|.js)/g, '')
|
||||||
.split('/')
|
.split('/')
|
||||||
.slice(1, path.split('/').length - 1)
|
.slice(1, path.split('/').length - 1)
|
||||||
.join('.')
|
.join('.')
|
||||||
@ -58,7 +58,7 @@ module.exports = {
|
|||||||
|
|
||||||
aggregatePath: path => {
|
aggregatePath: path => {
|
||||||
return path
|
return path
|
||||||
.replace(/(.settings|.json|.js)/g, '')
|
.replace(/(\.settings|.json|.js)/g, '')
|
||||||
.split('/')
|
.split('/')
|
||||||
.slice(1)
|
.slice(1)
|
||||||
.join('.')
|
.join('.')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user