fanforce 0.5.7 → 0.5.8
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/fanforce/version.rb +1 -1
- data/lib/ff_globals.rb +3 -3
- metadata +1 -1
data/lib/fanforce/version.rb
CHANGED
data/lib/ff_globals.rb
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
if !ENV['RACK_ENV'] or ENV['RACK_ENV'] == 'development'
|
2
2
|
top_level_domain = ENV['FANFORCE_GEM_TOP_LEVEL_DOMAIN'] || 'gg'
|
3
3
|
$BASE_DOMAIN = ENV['FANFORCE_GEM_BASE_DOMAIN'] || 'fanforce.' + top_level_domain
|
4
|
-
$APP_DOMAIN = $BASE_DOMAIN
|
5
|
-
$API_DOMAIN = $BASE_DOMAIN
|
6
|
-
$I_DOMAIN = $BASE_DOMAIN
|
4
|
+
$APP_DOMAIN = 'app.' + $BASE_DOMAIN
|
5
|
+
$API_DOMAIN = 'api.' + $BASE_DOMAIN
|
6
|
+
$I_DOMAIN = 'i.' + $BASE_DOMAIN
|
7
7
|
$WEBSITE_DOMAIN = $BASE_DOMAIN
|
8
8
|
|
9
9
|
$SMARTURL_DOMAIN = 'fanforc.' + top_level_domain
|