mirror of
https://github.com/strapi/strapi.git
synced 2025-11-10 15:19:00 +00:00
use src structure for templates
This commit is contained in:
parent
b3f22bac5d
commit
938673db2f
@ -13,13 +13,15 @@ const allowChildren = '*';
|
|||||||
const allowedTemplateContents = {
|
const allowedTemplateContents = {
|
||||||
'README.md': true,
|
'README.md': true,
|
||||||
'.env.example': true,
|
'.env.example': true,
|
||||||
|
src: {
|
||||||
api: allowChildren,
|
api: allowChildren,
|
||||||
components: allowChildren,
|
components: allowChildren,
|
||||||
|
plugins: allowChildren,
|
||||||
|
},
|
||||||
config: {
|
config: {
|
||||||
functions: allowChildren,
|
functions: allowChildren,
|
||||||
},
|
},
|
||||||
data: allowChildren,
|
data: allowChildren,
|
||||||
plugins: allowChildren,
|
|
||||||
public: allowChildren,
|
public: allowChildren,
|
||||||
scripts: allowChildren,
|
scripts: allowChildren,
|
||||||
};
|
};
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user