Skip to content

Commit d6f31a0

Browse files
committed
fix: 修复本地开发回调地址没配置报错问题
1 parent 68ea2f4 commit d6f31a0

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • bk-plugin-framework/bk_plugin_framework

bk-plugin-framework/bk_plugin_framework/envs.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ def compute_settings(settings: BaseSettings) -> dict:
4343
if BKPAAS_ENVIRONMENT != "dev":
4444
logger.exception(f"set callback_host fail: {e}")
4545
raise
46+
callback_host = ""
4647

4748
if BKPAAS_ENGINE_REGION == "ieod":
4849
user_token_key_name = "bk_ticket" if BKPAAS_ENVIRONMENT == "dev" else "jwt"

0 commit comments

Comments
 (0)