mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-09-15 09:06:27 +03:00
59 lines
2.3 KiB
JSON
59 lines
2.3 KiB
JSON
{
|
|
"manifests": {
|
|
"storyblok/symfony-bundle": {
|
|
"manifest": {
|
|
"bundles": {
|
|
"Storyblok\\Bundle\\StoryblokBundle": [
|
|
"all"
|
|
]
|
|
},
|
|
"copy-from-recipe": {
|
|
"config/": "%CONFIG_DIR%/"
|
|
},
|
|
"env": {
|
|
"STORYBLOK_API_BASE_URI": "https://api.storyblok.com",
|
|
"STORYBLOK_API_TOKEN": "",
|
|
"STORYBLOK_VERSION": "draft",
|
|
"#1": "STORYBLOK_ASSETS_API_TOKEN=",
|
|
"#2": "STORYBLOK_WEBHOOK_SECRET="
|
|
}
|
|
},
|
|
"files": {
|
|
"config/packages/storyblok.yaml": {
|
|
"contents": [
|
|
"storyblok:",
|
|
" base_uri: '%env(STORYBLOK_API_BASE_URI)%'",
|
|
" token: '%env(STORYBLOK_API_TOKEN)%'",
|
|
" version: '%env(STORYBLOK_VERSION)%'",
|
|
" # assets_token: '%env(STORYBLOK_ASSETS_API_TOKEN)%'",
|
|
" # webhook_secret: '%env(STORYBLOK_WEBHOOK_SECRET)%'",
|
|
" # auto_resolve_relations: true",
|
|
" # controller:",
|
|
" # ascending_redirect_fallback: true",
|
|
"",
|
|
"when@prod:",
|
|
" storyblok:",
|
|
" controller:",
|
|
" cache:",
|
|
" public: true",
|
|
" max_age: 3600",
|
|
" smax_age: 3600",
|
|
" must_revalidate: true",
|
|
""
|
|
],
|
|
"executable": false
|
|
},
|
|
"config/routes/storyblok.yaml": {
|
|
"contents": [
|
|
"storyblok:",
|
|
" resource: '@StoryblokBundle/config/routes.php'",
|
|
""
|
|
],
|
|
"executable": false
|
|
}
|
|
},
|
|
"ref": "d50d44f2127ee85a8c0c3d02bdb5c18664e8d8e3"
|
|
}
|
|
}
|
|
}
|