Skip to content

Commit c6402ca

Browse files
committed
feat: apigw cors sync update & release runtime 2.0.11
1 parent 4dc3d9b commit c6402ca

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

runtime/bk-plugin-runtime/bk_plugin_runtime/__version__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@
1010
specific language governing permissions and limitations under the License.
1111
"""
1212

13-
__version__ = "2.0.10"
13+
__version__ = "2.0.11"

runtime/bk-plugin-runtime/bk_plugin_runtime/config/default.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -243,6 +243,6 @@ def logging_addition_settings(logging_dict):
243243
BK_PLUGIN_APIGW_BACKEND_SUB_PATH = url_parse.path.lstrip("/")
244244
BK_PLUGIN_APIGW_BACKEND_SCHEME = url_parse.scheme or "http"
245245

246-
BK_APIGW_CORS_ALLOW_ORIGINS = [s for s in os.getenv("BK_APIGW_CORS_ALLOW_ORIGINS", "").split(",") if s]
247-
BK_APIGW_CORS_ALLOW_METHODS = [s for s in os.getenv("BK_APIGW_CORS_ALLOW_METHODS", "").split(",") if s]
248-
BK_APIGW_CORS_ALLOW_HEADERS = [s for s in os.getenv("BK_APIGW_CORS_ALLOW_HEADERS", "").split(",") if s]
246+
BK_APIGW_CORS_ALLOW_ORIGINS = os.getenv("BK_APIGW_CORS_ALLOW_ORIGINS", "")
247+
BK_APIGW_CORS_ALLOW_METHODS = os.getenv("BK_APIGW_CORS_ALLOW_METHODS", "")
248+
BK_APIGW_CORS_ALLOW_HEADERS = os.getenv("BK_APIGW_CORS_ALLOW_HEADERS", "")

runtime/bk-plugin-runtime/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "bk-plugin-runtime"
3-
version = "2.0.10"
3+
version = "2.0.11"
44
description = "bk plugin python django runtime"
55
authors = ["Your Name <you@example.com>"]
66
license = "MIT"

0 commit comments

Comments
 (0)