Commit 195b1d0198fb952be1c39f3112c810ba7735731a
1 parent
1c2f4ead34
Exists in
master
consultar terminal
Showing
3 changed files
with
16 additions
and
10 deletions
Show diff stats
package.json
... | ... | @@ -36,19 +36,25 @@ |
36 | 36 | "pump": "^3.0.0" |
37 | 37 | }, |
38 | 38 | "devDependencies": { |
39 | - "angular": "^1.7.5", | |
40 | - "angular-cookies": "^1.7.5", | |
41 | - "angular-route": "^1.7.5", | |
39 | + "angular": "^1.7.7", | |
40 | + "angular-cookies": "^1.7.7", | |
41 | + "angular-route": "^1.7.7", | |
42 | + "bootstrap": "^4.3.1", | |
43 | + "font-awesome": "^4.7.0", | |
42 | 44 | "gulp": "^3.9.1", |
43 | - "gulp-angular-templatecache": "^2.2.3", | |
45 | + "gulp-angular-templatecache": "^2.2.6", | |
44 | 46 | "gulp-clean": "^0.4.0", |
45 | 47 | "gulp-concat": "^2.6.1", |
48 | + "gulp-connect": "^5.7.0", | |
49 | + "gulp-htmlmin": "^5.0.1", | |
46 | 50 | "gulp-jshint": "^2.1.0", |
47 | 51 | "gulp-rename": "^1.4.0", |
48 | 52 | "gulp-replace": "^1.0.0", |
53 | + "gulp-sequence": "^1.0.0", | |
49 | 54 | "gulp-uglify": "^3.0.1", |
55 | + "jasmine-core": "^3.3.0", | |
50 | 56 | "jquery": "^3.3.1", |
51 | - "jshint": "^2.9.6", | |
57 | + "jshint": "^2.10.1", | |
52 | 58 | "ngstorage": "^0.3.11", |
53 | 59 | "pre-commit": "^1.2.2", |
54 | 60 | "pump": "^3.0.0" |
src/js/app.js
src/js/service.js
1 | 1 | angular.module('focaConfiguracion') |
2 | 2 | .factory("focaConfiguracionService", [ |
3 | - '$http', 'API_ENDPOINT', | |
4 | - function($http, API_ENDPOINT) { | |
3 | + '$http', 'ENDPOINT_BASE', | |
4 | + function($http, ENDPOINT_BASE) { | |
5 | 5 | return { |
6 | 6 | getHashTerminal: function() { |
7 | - return $http.get(API_ENDPOINT.URL + '/config/terminal'); | |
7 | + return $http.get(ENDPOINT_BASE + '/terminal/obtener'); | |
8 | 8 | } |
9 | 9 | } |
10 | 10 | } |
11 | - ]); | |
12 | 11 | \ No newline at end of file |
12 | + ]); |