وەسف
Fecommerce CORS Bridge enables Framer websites and plugins to access WooCommerce REST API endpoints securely.
The plugin adds controlled CORS headers only for approved Framer-related domains and local development environments.
Supported origins include:
- https://framer.com
- https://app.framer.com
- https://*.plugins.framercdn.com
- https://*.framercanvas.com
- https://*.framer.app
- https://*.framer.website
- localhost environments
No other origins are modified.
Requirements
- WordPress 5.8+
- PHP 7.4+
- WooCommerce plugin
How It Works
The plugin hooks into rest_api_init and replaces the default WordPress CORS headers with ones that permit Framer origins. It also handles preflight OPTIONS requests so the browser completes the handshake before sending actual data requests.
دامەزراندن
- Upload the plugin folder to
/wp-content/plugins/ - Activate the plugin through the WordPress admin panel
- Use your WooCommerce REST API from Framer projects
پێداچوونەوەکان
هیچ پێداچوونەوەیەک نەنووسراوە بۆ ئەم پێوەکراوە.
بەشداربووان و گەشەپێدەران
“Fecommerce CORS Bridge” نەرمەواڵەیەکی سەرچاوە کراوەیە. ئەم کەسانەی خوارەوە بەشدارییان تێدا کردووە.
بەشداربووان“Fecommerce CORS Bridge” وەربگێڕە بۆ زمانەکەی خۆت.
دەتەوێت بەشداربیت لە گەشەپێدان؟
گەڕان لە کۆدەکەدا بکە، سەیری تەمارگەی (SVN) بکە، یان بەشداربە لە ڕووداوتۆماری گەشەپێدان لە ڕێگەی (RSS).
ڕووداوتۆمارگەریی گۆڕین
1.0.0
- Initial release
