Skip to content

Commit 6f34d8a

Browse files
committed
chore: rename staging to dev
1 parent 804896b commit 6f34d8a

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

gulpfile.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ function getUuid () {
102102
}
103103

104104
var configTask = argv.production ? 'config:production' :
105-
argv.staging ? 'config:staging' :
105+
argv.dev ? 'config:dev' :
106106
argv.mock ? 'config:mock' : 'config:local';
107107

108108
gulp.task('build', function (cb) {
@@ -222,8 +222,8 @@ gulp.task('config:local', function () {
222222
.pipe(gulp.dest(tmp + '/app/common/'));
223223
});
224224

225-
gulp.task('config:staging', function () {
226-
return gulp.src(tmp + '/app/common/config_staging.js')
225+
gulp.task('config:dev', function () {
226+
return gulp.src(tmp + '/app/common/config_dev.js')
227227
.pipe(rename('config.js'))
228228
.pipe(gulp.dest(tmp + '/app/common/'));
229229
});

src/app/common/config_dev.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
export let CONFIG = {
2+
API_ENDPOINT: 'http://classroom-api-dev.herokuapp.com'
3+
};

src/app/common/config_staging.ts

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)