to_s target_origin config to be safe

This commit is contained in:
Sven Fuchs 2013-08-20 12:50:07 +02:00
parent 7eebcff341
commit 8cfbe642a0

View File

@ -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