Skip to content

Commit 20be897

Browse files
Vinceeeenormal-wls
authored andcommitted
fix: fix api-definition template
1 parent 062b206 commit 20be897

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

  • bk-plugin-framework/bk_plugin_framework/services/bpf_service/management/commands/data

bk-plugin-framework/bk_plugin_framework/services/bpf_service/management/commands/data/api-definition.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@ stage:
1616
plugin_configs:
1717
- type: bk-cors
1818
yaml: |-
19-
allow_origins: {{ settings.BK_APIGW_CORS_ALLOW_ORIGINS }}
20-
allow_methods: {{ settings.BK_APIGW_CORS_ALLOW_METHODS }}
21-
allow_headers: {{ settings.BK_APIGW_CORS_ALLOW_HEADERS }}
19+
allow_origins: '{{ settings.BK_APIGW_CORS_ALLOW_ORIGINS }}'
20+
allow_methods: '{{ settings.BK_APIGW_CORS_ALLOW_METHODS }}'
21+
allow_headers: '{{ settings.BK_APIGW_CORS_ALLOW_HEADERS }}'
2222
expose_headers: ''
2323
max_age: 86400
2424
allow_credential: true
2525
2626
release:
27-
comment: "auto release by bk-plugin-runtime"
27+
comment: "auto release by bk-plugin-runtime"

0 commit comments

Comments
 (0)