fix production url
This commit is contained in:
parent
9bb3079b61
commit
e5867b00a5
2
desirae
2
desirae
|
@ -1 +1 @@
|
||||||
Subproject commit 574ab2045361ce2980f9f4b71e5fb12430a1fffb
|
Subproject commit 3235b6c182a6cff73fc3a2482b347979ad126b01
|
|
@ -52,7 +52,8 @@ angular.module('myApp.build', ['ngRoute'])
|
||||||
if ('production' === envstr) {
|
if ('production' === envstr) {
|
||||||
env = {
|
env = {
|
||||||
url: scope.production_url
|
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'
|
, compiled_path: 'compiled'
|
||||||
, since: 0
|
, since: 0
|
||||||
, onError: scope.onError
|
, onError: scope.onError
|
||||||
|
|
Loading…
Reference in New Issue