Skip to content

Commit 456fa48

Browse files
committed
config service become a constant
1 parent a96b3ee commit 456fa48

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gulp/build/scripts.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ gulp.task('browserify', function() {
2929
var configPipe = lazypipe()
3030
.pipe($.yaml)
3131
.pipe($.extend, 'config.js')
32-
.pipe($.wrap, 'angular.module(\'app\').value(\'appConfig\', <%= contents %>);');
32+
.pipe($.wrap, 'angular.module(\'app\').constant(\'appConfig\', <%= contents %>);');
3333

3434
gulp.task('config', function() {
3535
return gulp.src('./config/config.yml')

0 commit comments

Comments
 (0)