to_s target_origin config to be safe
This commit is contained in:
parent
7eebcff341
commit
8cfbe642a0
|
@ -336,7 +336,7 @@ class Travis::Api::App
|
|||
end
|
||||
|
||||
def allowed_https_targets
|
||||
@allowed_https_targets ||= Travis.config.auth.api.target_origin.split(',')
|
||||
@allowed_https_targets ||= Travis.config.auth.target_origin.to_s.split(',')
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue
Block a user