Skip to content

Commit 895f542

Browse files
committed
Fixing redirects
1 parent d04ce6f commit 895f542

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/travis/api/app/endpoint/authorization.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ def clear_state_cookies
270270

271271
def handle_invalid_response
272272
clear_state_cookies
273-
redirect to(Travis.config.host)
273+
redirect to("https://#{Travis.config.host}/")
274274
end
275275

276276
def create_state

0 commit comments

Comments
 (0)