fix production url

This commit is contained in:
AJ ONeal 2015-01-13 05:03:20 -07:00
parent 9bb3079b61
commit e5867b00a5
2 changed files with 3 additions and 2 deletions

@ -1 +1 @@
Subproject commit 574ab2045361ce2980f9f4b71e5fb12430a1fffb
Subproject commit 3235b6c182a6cff73fc3a2482b347979ad126b01

View File

@ -52,7 +52,8 @@ angular.module('myApp.build', ['ngRoute'])
if ('production' === envstr) {
env = {
url: scope.production_url
, base_url: scope.development_url.replace(/(https?:\/\/[^\/#?]+).*/, '$1')
, base_url: scope.production_url.replace(/(https?:\/\/[^\/#?]+).*/, '$1')
, base_path: scope.production_url.replace(/https?:\/\/[^\/#?]+/, '$1')
, compiled_path: 'compiled'
, since: 0
, onError: scope.onError