fix base_path = '/' issues

This commit is contained in:
AJ ONeal 2015-01-13 15:39:51 -07:00
parent cfa1688085
commit b696fbc53b
2 changed files with 2 additions and 2 deletions

@ -1 +1 @@
Subproject commit 4b7106363794014edd7575a6892fae98c5f83d70 Subproject commit c68e9aaf18d33bbdec0390ebdfd910ed10a6d9cd

View File

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