Sha256: 5df301092e45cfcdef47bd358967d2b51150451108a9f53c1a686520aed20f24
Contents?: true
Size: 1.49 KB
Versions: 6
Compression:
Stored size: 1.49 KB
Contents
module Fanforce if ENV['RACK_ENV'] == 'development' TOP_LEVEL_DOMAIN = ENV['FANFORCE_GEM_TOP_LEVEL_DOMAIN'] || 'gg' BASE_DOMAIN = ENV['FANFORCE_GEM_BASE_DOMAIN'] || 'fanforce.' + TOP_LEVEL_DOMAIN SMARTURL_DOMAIN = 'fanforc.gg' FF_APP_DOMAIN = 'ffapp.gg' FF_PLUGIN_DOMAIN = 'ffplugin.gg' FF_WIDGET_DOMAIN = 'ffwidget.gg' elsif ENV['RACK_ENV'] == 'test' BASE_DOMAIN = 'fanforce.gg' SMARTURL_DOMAIN = 'fanforc.gg' FF_APP_DOMAIN = 'ffapp.gg' FF_PLUGIN_DOMAIN = 'ffplugin.gg' FF_WIDGET_DOMAIN = 'ffwidget.gg' elsif ENV['RACK_ENV'] == 'staging' BASE_DOMAIN = 'fanforce-staging.com' SMARTURL_DOMAIN = 'fanforc.us' FF_APP_DOMAIN = 'ffapp.us' FF_PLUGIN_DOMAIN = 'ffplugin.us' FF_WIDGET_DOMAIN = 'ffwidget.us' elsif ENV['RACK_ENV'] == 'production' BASE_DOMAIN = 'fanforce.com' SMARTURL_DOMAIN = 'fanforce.io' FF_APP_DOMAIN = 'ffapp.io' FF_PLUGIN_DOMAIN = 'ffplugin.io' FF_WIDGET_DOMAIN = 'ffwidget.io' end API_DOMAIN = 'api.' + BASE_DOMAIN I_DOMAIN = 'i.' + BASE_DOMAIN WEBSITE_DOMAIN = BASE_DOMAIN DEVELOPERS_DOMAIN = 'developers.' + BASE_DOMAIN CONTROLLER_DOMAIN = 'controller.' + BASE_DOMAIN ADDON_MANAGEMENT_URL = CONTROLLER_DOMAIN + '/db' # these should be moved to edition APP_DOMAIN = 'app.' + BASE_DOMAIN SIGNUP_DOMAIN = 'signup.' + BASE_DOMAIN MARKETPLACE_DOMAIN = 'appstore.' + BASE_DOMAIN end
Version data entries
6 entries across 6 versions & 3 rubygems