Skip to content

Commit

Permalink
in_http: Fix default value of cors_allow_credentials
Browse files Browse the repository at this point in the history
nil ->
false

Signed-off-by: Takuro Ashie <[email protected]>
  • Loading branch information
ashie authored and kenhys committed Aug 24, 2021
1 parent 40f5598 commit 82115a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/fluent/plugin/in_http.rb
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ class HttpInput < Input
desc 'Set a allow list of domains that can do CORS (Cross-Origin Resource Sharing)'
config_param :cors_allow_origins, :array, default: nil
desc 'Tells browsers whether to expose the response to frontend when the credentials mode is "include".'
config_param :cors_allow_credentials, :bool, default: nil
config_param :cors_allow_credentials, :bool, default: false
desc 'Respond with empty gif image of 1x1 pixel.'
config_param :respond_with_empty_img, :bool, default: false
desc 'Respond status code with 204.'
Expand Down

0 comments on commit 82115a1

Please sign in to comment.