Skip to content
This repository
Browse code

use current host for status images

  • Loading branch information...
commit 125ca042f80a0eacc901335166c7c61c45d6957a 1 parent e62dc32
Konstantin Haase authored December 10, 2012

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  assets/scripts/app/helpers/urls.coffee
2  assets/scripts/app/helpers/urls.coffee
@@ -33,7 +33,7 @@
33 33
     "http://github.com/#{slug}/admin/hooks#travis_minibucket"
34 34
 
35 35
   statusImage: (slug, branch) ->
36  
-    "https://secure.travis-ci.org/#{slug}.png" + if branch then "?branch=#{branch}" else ''
  36
+    "#{location.protocol}//#{location.host}/#{slug}.png" + if branch then "?branch=#{branch}" else ''
37 37
 
38 38
   email: (email) ->
39 39
     "mailto:#{email}"

0 notes on commit 125ca04

Please sign in to comment.
Something went wrong with that request. Please try again.