mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-14 09:58:17 +00:00
FS-8257 #resolve [verto_communicator] fix config provision url
This commit is contained in:
@@ -25,7 +25,8 @@ vertoService.service('config', ['$rootScope', '$http', '$location', 'storage', '
|
||||
* Load the Configs before logging in
|
||||
* with cache buster
|
||||
*/
|
||||
var httpRequest = $http.get(window.location.pathname + '/config.json?cachebuster=' + Math.floor((Math.random()*1000000)+1));
|
||||
var url = window.location.origin + window.location.pathname;
|
||||
var httpRequest = $http.get(url + 'config.json?cachebuster=' + Math.floor((Math.random()*1000000)+1));
|
||||
|
||||
var httpReturn = httpRequest.then(function(response) {
|
||||
var data = response.data;
|
||||
|
Reference in New Issue
Block a user