Skip to content

Commit 82115a1

Browse files
ashiekenhys
authored andcommitted
in_http: Fix default value of cors_allow_credentials
nil -> false Signed-off-by: Takuro Ashie <ashie@clear-code.com>
1 parent 40f5598 commit 82115a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/fluent/plugin/in_http.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ class HttpInput < Input
7575
desc 'Set a allow list of domains that can do CORS (Cross-Origin Resource Sharing)'
7676
config_param :cors_allow_origins, :array, default: nil
7777
desc 'Tells browsers whether to expose the response to frontend when the credentials mode is "include".'
78-
config_param :cors_allow_credentials, :bool, default: nil
78+
config_param :cors_allow_credentials, :bool, default: false
7979
desc 'Respond with empty gif image of 1x1 pixel.'
8080
config_param :respond_with_empty_img, :bool, default: false
8181
desc 'Respond status code with 204.'

0 commit comments

Comments
 (0)