This commit is contained in:
kevgliss 2015-12-01 09:39:56 -08:00
parent 7565492bb9
commit 6aac2d62be
2 changed files with 2 additions and 2 deletions

View File

@ -238,8 +238,8 @@ gulp.task('build:images', function () {
gulp.task('package:strip', function () { gulp.task('package:strip', function () {
return gulp.src(['lemur/static/dist/scripts/main*']) return gulp.src(['lemur/static/dist/scripts/main*'])
.pipe(replace('http:\/\/localhost:5000', ''))
.pipe(replace('http:\/\/localhost:3000', '')) .pipe(replace('http:\/\/localhost:3000', ''))
.pipe(replace('http:\/\/localhost:8000', ''))
.pipe(useref()) .pipe(useref())
.pipe(revReplace()) .pipe(revReplace())
.pipe(gulp.dest('lemur/static/dist/scripts')) .pipe(gulp.dest('lemur/static/dist/scripts'))

View File

@ -74,7 +74,7 @@ lemur.service('DefaultService', function (LemurRestangular) {
lemur.factory('LemurRestangular', function (Restangular, $location, $auth) { lemur.factory('LemurRestangular', function (Restangular, $location, $auth) {
return Restangular.withConfig(function (RestangularConfigurer) { return Restangular.withConfig(function (RestangularConfigurer) {
RestangularConfigurer.setBaseUrl('http://localhost:5000/api/1'); RestangularConfigurer.setBaseUrl('http://localhost:8000/api/1');
RestangularConfigurer.setDefaultHttpFields({withCredentials: true}); RestangularConfigurer.setDefaultHttpFields({withCredentials: true});
RestangularConfigurer.addResponseInterceptor(function (data, operation) { RestangularConfigurer.addResponseInterceptor(function (data, operation) {