Fecommerce CORS Bridge

外掛說明

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.

安裝方式

  1. Upload the plugin folder to /wp-content/plugins/
  2. Activate the plugin through the WordPress admin panel
  3. Use your WooCommerce REST API from Framer projects

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈Fecommerce CORS Bridge〉的開發相關工作。

參與者

將〈Fecommerce CORS Bridge〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.0.0

  • Initial release