Skip to content
This repository has been archived by the owner on Jul 24, 2019. It is now read-only.

Commit

Permalink
ssl redirection restricted
Browse files Browse the repository at this point in the history
  • Loading branch information
gojko committed Sep 6, 2014
1 parent 8416b77 commit 03518aa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion config.ru
@@ -1,6 +1,6 @@
if ENV["FORCE_SSL"] === "YES" then
require 'rack/ssl-enforcer'
use Rack::SslEnforcer
use Rack::SslEnforcer, :ignore => ['/export_browser_maps', '/publishingConfig', '/static', '/cache_news', '/trouble']
end
require File.dirname(__FILE__)+'/web.rb'
$stdout.sync = true
Expand Down
4 changes: 2 additions & 2 deletions views/export_browser_maps.erb
Expand Up @@ -73,7 +73,7 @@
</ul>
</div>
<div class="row" id="no-maps">
<p>There are no browser storage maps in this profile. If you can't find the map you are looking for, please contact us at <a href="mailto:contact@mindmup.com">contact@mindmup.com</a></p>
<p>There are no browser storage maps in this profile. Try a different tab.
</div>

<div class="row hide" id="maps">
Expand Down Expand Up @@ -126,7 +126,7 @@


clone.find('[data-mm-role=name]').text(map.d);
clone.find('[data-mm-role=time]').text(new Date(parseInt(map.t)));
clone.find('[data-mm-role=time]').text(new Date(1000 * parseInt(map.t)));
<% if browser.safari? || browser.ios? %>
clone.find('[data-mm-role=download]').attr('href', 'data:text/plain,' + encodeURIComponent(contents));
<% else %>
Expand Down

0 comments on commit 03518aa

Please sign in to comment.