tinect / mediabunnycdn
bunnyCDN
1.0.4
2019-04-25 09:18 UTC
Requires
- composer/installers: ~1.0
This package is auto-updated.
Last update: 2024-09-22 09:24:04 UTC
README
bunnyCDN适配器允许你在bunnyCDN-Storage上管理shopware中的媒体文件。
安装
从发布页面下载插件并在shopware中启用。
用法
更新您根目录下的config.php
并填写自己的值
'cdn' => [ 'backend' => 'bunnycdn', 'adapters' => [ 'bunnycdn' => [ 'type' => 'bunnycdn', 'mediaUrl' => 'https://example.b-cdn.net/', 'apiUrl' => 'https://storage.bunnycdn.com/example/', 'apiKey' => 'secret-api-key' ] ] ]
迁移
bin/console sw:media:migrate --from=local --to=bunnycdn
更多信息:https://developers.shopware.com/developers-guide/shopware-5-media-service/#file-system-adapters
建议
许可证
MIT许可证(MIT)。有关更多信息,请参阅许可证文件。