Skip to content

Commit 669b958

Browse files
committed
Buckets are permanently redirected to specific endpoints.
1 parent 591245d commit 669b958

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/views/matches/show.html.erb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<% if @match.map_url.present? || @match.map["s2ma_hash"].present? %>
2020
<div class="last map block">
2121
<% if !@match.map_url || @match.map_url.blank? %>
22-
<img class="minimap" height="90" src="http://s3.amazonaws.com/<%= Rails.configuration.s3['minimaps']['bucket'] %>/<%= @match.map["s2ma_hash"] %>_100.png" />
22+
<img class="minimap" height="90" src="http://<%= Rails.configuration.s3['minimaps']['bucket'] %>.s3.amazonaws.com/<%= @match.map["s2ma_hash"] %>_100.png" />
2323
<% else %>
2424
<img src="<%= @match.map_url %>"/>
2525
<% end %>
@@ -62,7 +62,7 @@
6262
<div class="top">
6363
<%= render 'shared/sidebarad' %>
6464

65-
<matchmap data-framee="current_framee" data-minimapurl="http://s3.amazonaws.com/<%= Rails.configuration.s3['minimaps']['bucket'] %>/<%= @match.map["s2ma_hash"] %>_100.png" data-match="match"></matchmap>
65+
<matchmap data-framee="current_framee" data-minimapurl="http://<%= Rails.configuration.s3['minimaps']['bucket'] %>.s3.amazonaws.com/<%= @match.map["s2ma_hash"] %>_100.png" data-match="match"></matchmap>
6666
<a href class="ggtipper2" title="Total army strength in minerals + gas throughout the game.<br><br>Move your mouse over the chart to see what was in each army at any point in the game.<br><br>Click and drag to zoom.<br><br>Click on the chart to freeze that time selection." data-gravity="nw">
6767
<span class="title lefty">army strength, minerals + gas</span>
6868
</a>

0 commit comments

Comments
 (0)