diff --git a/gulpfile.js b/gulpfile.js index 353094b..268df62 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -54,6 +54,8 @@ gulp.task('pre-install', function() { gulp.src('package.json'), replace('ssh://git@debonline.dyndns.org:', 'http://git.focasoftware.com/'), replace('.git', '.git#develop'), + replace('foca-login.git#develop', 'foca-login.git#demo'), + replace('foca-nombre-empresa.git#develop', 'foca-nombre-empresa.git#demo'), gulp.dest('') ]); }); @@ -63,6 +65,7 @@ gulp.task('post-install', function() { gulp.src('package.json'), replace('http://git.focasoftware.com/', 'ssh://git@debonline.dyndns.org:'), replace('#develop', ''), + replace('#demo', ''), gulp.dest('') ]); }); diff --git a/src/etc/develop.ejemplo.js b/src/etc/develop.ejemplo.js index edabf57..748c9f1 100644 --- a/src/etc/develop.ejemplo.js +++ b/src/etc/develop.ejemplo.js @@ -1,5 +1,6 @@ -angular.module('appWrapperDemo') - .constant('API_ENDPOINT', { - 'URL': '//127.0.0.1:9000' - }) - .constant("APP", ''); // Posibles valores '', 'distribuidor', 'transportista' +angular.module('appWrapperFacturador') + .constant('API_ENDPOINT', { + 'URL': 'http://localhost:9900', + 'ENDPOINT_BASE': 'http://ypf.app.focasoftware.com:3030', + }) + .constant("APP", 'facturador'); // Posibles valores '', 'distribuidor', 'transportista', 'facturador' \ No newline at end of file