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