Skip to content

Commit

Permalink
frontend: remove leading slash from dist assets
Browse files Browse the repository at this point in the history
  • Loading branch information
xaka committed Aug 24, 2016
1 parent 17ef2a2 commit 2aa23e7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions frontend/gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -201,9 +201,9 @@ gulp.task('html', ['sha'], () => {
return gulp.src('./public/index.html')
.pipe(htmlReplace((function() {
var h = {
'js': `/static/build.${CURRENT_SHA}.min.js`,
'css': `/static/build.${CURRENT_SHA}.css`,
'css-coreos-web': '/static/lib/coreos-web/coreos.css'
'js': `static/build.${CURRENT_SHA}.min.js`,
'css': `static/build.${CURRENT_SHA}.css`,
'css-coreos-web': 'static/lib/coreos-web/coreos.css'
};
if (process.env.NODE_ENV !== 'production') {
h['analytics'] = '';
Expand Down

0 comments on commit 2aa23e7

Please sign in to comment.