Skip to content

Commit

Permalink
Merge pull request #67 from legendar/master
Browse files Browse the repository at this point in the history
fix transform template url
  • Loading branch information
legendar authored Dec 1, 2016
2 parents 231ae8b + f41a2d4 commit b1d5943
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gulp/tasks/templates.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ gulp.task('templates-ng', function () {
standalone: true,
templateHeader: TEMPLATE_HEADER,
transformUrl: function(url) {
return url.replace(/^app\//, '').replace(/\/templates\//, '/');
return url.replace(/\\/g, '/').replace(/^app\//, '').replace(/\/templates\//, '/');
}
}))
.pipe(gulp.dest(path('{dest}')))
Expand Down

0 comments on commit b1d5943

Please sign in to comment.