diff --git a/storyblok/symfony-bundle/1.2/config/packages/storyblok.yaml b/storyblok/symfony-bundle/1.2/config/packages/storyblok.yaml new file mode 100644 index 00000000..e624a3a5 --- /dev/null +++ b/storyblok/symfony-bundle/1.2/config/packages/storyblok.yaml @@ -0,0 +1,18 @@ +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 diff --git a/storyblok/symfony-bundle/1.2/config/routes/storyblok.yaml b/storyblok/symfony-bundle/1.2/config/routes/storyblok.yaml new file mode 100644 index 00000000..17d9f3c2 --- /dev/null +++ b/storyblok/symfony-bundle/1.2/config/routes/storyblok.yaml @@ -0,0 +1,2 @@ +storyblok: + resource: '@StoryblokBundle/config/routes.php' diff --git a/storyblok/symfony-bundle/1.2/manifest.json b/storyblok/symfony-bundle/1.2/manifest.json new file mode 100644 index 00000000..4682ead2 --- /dev/null +++ b/storyblok/symfony-bundle/1.2/manifest.json @@ -0,0 +1,15 @@ +{ + "bundles": { + "Storyblok\\Bundle\\StoryblokBundle": ["all"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + }, + "env": { + "STORYBLOK_API_BASE_URI": "https://api.storyblok.com", + "STORYBLOK_API_TOKEN": "", + "#1": "STORYBLOK_VERSION=", + "#2": "STORYBLOK_ASSETS_API_TOKEN=", + "#3": "STORYBLOK_WEBHOOK_SECRET=" + } +}