mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2025-01-05 20:46:14 +01:00
de9c224a92
- use referer from client when available - save uuid returned by hub - send uuid to hub on version check - check the version on each startup to prevent wrong sync - also: do not save a setting on API update if it has not changed
11 lines
223 B
JavaScript
11 lines
223 B
JavaScript
'use strict';
|
|
|
|
Application.Services.factory('Version', ['$resource', function ($resource) {
|
|
return $resource('/api/version/:origin',
|
|
{ origin: '@origin' }, {
|
|
query: {
|
|
isArray: false
|
|
}
|
|
});
|
|
}]);
|