Commit d40eb229dcd4c13d4ac64d1ddb27d02eb64cd33f
1 parent
9aea922634
Exists in
master
server
Showing
1 changed file
with
3 additions
and
1 deletions
Show diff stats
app/js/app.constant.js
1 | (function(){ | 1 | (function(){ |
2 | 'use strict'; | 2 | 'use strict'; |
3 | 3 | ||
4 | angular.module('acufuel') | 4 | angular.module('acufuel') |
5 | 5 | ||
6 | .constant('BASE_URL', { | 6 | .constant('BASE_URL', { |
7 | // url: 'http://54.149.169.33:8080/ws' | 7 | // url: 'http://54.149.169.33:8080/ws' |
8 | //url: 'http://192.168.1.175:8080/ws' | 8 | //url: 'http://192.168.1.175:8080/ws' |
9 | //url: 'http://192.168.1.8:8080/ws' | 9 | //url: 'http://192.168.1.8:8080/ws' |
10 | url: 'http://192.168.2.137:8080/ws' | 10 | // url: 'http://192.168.2.101:8080/ws' |
11 | url : 'http://34.214.139.94:8080/ws' | ||
12 | // url : 'http://localhost:8080/ws' | ||
11 | 13 | ||
12 | }) | 14 | }) |
13 | 15 | ||
14 | .constant('AUTH_EVENTS', { | 16 | .constant('AUTH_EVENTS', { |
15 | updateUser: 'update-user', | 17 | updateUser: 'update-user', |
16 | notAuthorized: 'auth-not-authorized' | 18 | notAuthorized: 'auth-not-authorized' |
17 | }) | 19 | }) |
18 | 20 | ||
19 | .constant('USER_ROLES', { | 21 | .constant('USER_ROLES', { |
20 | user : 'user', | 22 | user : 'user', |
21 | admin: 'admin' | 23 | admin: 'admin' |
22 | }); | 24 | }); |
23 | 25 | ||
24 | })(); | 26 | })(); |