diff options
Diffstat (limited to 'config')
-rw-r--r-- | config/defaults.yml | 17 | ||||
-rw-r--r-- | config/environments/development.rb | 6 |
2 files changed, 10 insertions, 13 deletions
diff --git a/config/defaults.yml b/config/defaults.yml index 6e14623..cb18795 100644 --- a/config/defaults.yml +++ b/config/defaults.yml @@ -14,21 +14,18 @@ cert_options: &cert_options unlimited_cert_prefix: "UNLIMITED" downloads: &downloads - client_download_domain: https://downloads.leap.se + client_download_domain: https://dl.bitmask.net available_clients: - - linux32 - - linux64 + - linux - osx - windows - android download_paths: - android: /client/android/Bitmask-Android-latest.apk - linux: /client/linux - linux32: /client/linux/Bitmask-linux32-latest.tar.bz2 - linux64: /client/linux/Bitmask-linux64-latest.tar.bz2 - osx: /client/osx/Bitmask-OSX-latest.dmg - windows: /client/windows/Bitmask-win32-latest.zip - other: /client + android: /android/ + linux: /linux/ + osx: /mac/ + windows: /windows/ + other: / common: &common force_ssl: false diff --git a/config/environments/development.rb b/config/environments/development.rb index adde3ba..7b06c81 100644 --- a/config/environments/development.rb +++ b/config/environments/development.rb @@ -29,7 +29,7 @@ LeapWeb::Application.configure do # Expands the lines which load the assets config.assets.debug = true - # hacky, but otherwise getting certificate error, and doesn't seem dangerous in development mode: - OpenSSL::SSL::VERIFY_PEER = OpenSSL::SSL::VERIFY_NONE - + # super hacky, but otherwise getting certificate error, and doesn't seem dangerous in development mode: + OpenSSL::SSL.send(:remove_const, "VERIFY_PEER") + OpenSSL::SSL.const_set("VERIFY_PEER", OpenSSL::SSL::VERIFY_NONE) end |