Commit d977e8de authored by Vladimir Baranov's avatar Vladimir Baranov

Bump UI version. Update dist

parent 284cb0c4
...@@ -73,6 +73,12 @@ angular.module( ...@@ -73,6 +73,12 @@ angular.module(
window.location.href = window.location.href.split('?')[0]; window.location.href = window.location.href.split('?')[0];
} }
// add proto definition if not set
if (backendurl.indexOf("http") != 0){
var proto = window.location.href.split("/")[0];
backendurl = proto + backendurl;
}
return {url: backendurl}; return {url: backendurl};
})()) })())
.factory('IsOnline', function ($window, $document, $rootScope) { .factory('IsOnline', function ($window, $document, $rootScope) {
......
...@@ -5,4 +5,4 @@ angular.module('ulakbus.version', [ ...@@ -5,4 +5,4 @@ angular.module('ulakbus.version', [
'ulakbus.version.version-directive' 'ulakbus.version.version-directive'
]) ])
.value('version', '0.1.1'); .value('version', '1.2.1');
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment