wearerequired/rest-api-same-origin
Composer 安装命令:
composer require wearerequired/rest-api-same-origin
包简介
WordPress plugin to limit the Access-Control-Allow-Origin header to only allowed origins.
README 文档
README
Limits Access-Control-Allow-Origin for REST API access to only allowed origins by is_allowed_http_origin(). By default this includes the home and site URLs.
Installation
If you're using Composer to manage dependencies, you can use the following command to add the plugin to your site:
composer require wearerequired/rest-api-same-origin
统计信息
- 总下载量: 3.31k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0-or-later
- 更新时间: 2019-05-18