Showing the changes to lib (1 of 2 files). Show all
Unified · Split
| @@ -38,6 +38,7 @@ class App < Sinatra::Application · 37 unmodified lines | |||
| 38 | config.environment = sprockets | 38 | config.environment = sprockets |
| 39 | config.prefix = "/#{assets_prefix}" | 39 | config.prefix = "/#{assets_prefix}" |
| 40 | config.public_path = public_folder | 40 | config.public_path = public_folder |
| 41 | config.protocol = :relative | ||
| 41 | end | 42 | end |
| 42 | end | 43 | end |
| 43 | 44 | ||
| @@ -57,7 +58,7 @@ class App < Sinatra::Application · 13 unmodified lines | |||
| 57 | 58 | ||
| 58 | configure :production do | 59 | configure :production do |
| 59 | set :static, false | 60 | set :static, false |
| 60 | set :docs_host, 'http://docs.devdocs.io' | 61 | set :docs_host, '//docs.devdocs.io' |
| 61 | 62 | ||
| 62 | use Rack::ConditionalGet | 63 | use Rack::ConditionalGet |
| 63 | use Rack::ETag | 64 | use Rack::ETag |
| @@ -180,7 +181,7 @@ class App < Sinatra::Application · 116 unmodified lines | |||
| 180 | end | 181 | end |
| 181 | 182 | ||
| 182 | get '/s/shopify' do | 183 | get '/s/shopify' do |
| 183 | redirect 'http://www.shopify.com/careers?utm_source=devdocs&utm_medium=banner&utm_campaign=devdocs' | 184 | redirect 'https://www.shopify.com/careers?utm_source=devdocs&utm_medium=banner&utm_campaign=devdocs' |
| 184 | end | 185 | end |
| 185 | 186 | ||
| 186 | get %r{\A/feed(?:\.atom)?\z} do | 187 | get %r{\A/feed(?:\.atom)?\z} do |