diff --git a/assets/javascripts/templates/pages/root_tmpl.coffee.erb b/assets/javascripts/templates/pages/root_tmpl.coffee.erb index a41c5386..e2f9dc86 100644 --- a/assets/javascripts/templates/pages/root_tmpl.coffee.erb +++ b/assets/javascripts/templates/pages/root_tmpl.coffee.erb @@ -59,7 +59,7 @@ app.templates.intro = """
  • DevDocs works offline, on mobile, and can be installed on Chrome and Firefox.
  • For the latest news, subscribe to the newsletter or follow @DevDocs
  • DevDocs is free and open source - +
  • If you like the app, please consider supporting the project on Gratipay. Thanks!

    diff --git a/lib/app.rb b/lib/app.rb index d4d7c17e..bf45c218 100644 --- a/lib/app.rb +++ b/lib/app.rb @@ -38,6 +38,7 @@ class App < Sinatra::Application config.environment = sprockets config.prefix = "/#{assets_prefix}" config.public_path = public_folder + config.protocol = :relative end end @@ -57,7 +58,7 @@ class App < Sinatra::Application configure :production do set :static, false - set :docs_host, 'http://docs.devdocs.io' + set :docs_host, '//docs.devdocs.io' use Rack::ConditionalGet use Rack::ETag @@ -180,7 +181,7 @@ class App < Sinatra::Application end get '/s/shopify' do - redirect 'http://www.shopify.com/careers?utm_source=devdocs&utm_medium=banner&utm_campaign=devdocs' + redirect 'https://www.shopify.com/careers?utm_source=devdocs&utm_medium=banner&utm_campaign=devdocs' end get %r{\A/feed(?:\.atom)?\z} do