Blame view
src/app/app.constant.js
393 Bytes
66ee5529f
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
(function(){ 'use strict'; angular.module('sbAdminApp') .constant("BASE_URL", "http://localhost:3002/api") //.constant("BASE_URL", "http://192.168.1.131:4000/api") .constant('AUTH_EVENTS', { updateUser: 'update-user', notAuthorized: 'auth-not-authorized', notAuthenticated: 'auth-not-authenticated' }) .constant('USER_ROLES', { admin: 'ADMIN', user: 'USER', }); })(); |