From 46bfcf8d54a00ff476807bbbf34146c083bb4214 Mon Sep 17 00:00:00 2001 From: Alex Yatskov Date: Tue, 30 Sep 2014 18:40:42 +0900 Subject: [PATCH] Do not add root slash on inject --- client/gulpfile.js | 4 ++-- client/index.html | 26 +++++++++++++------------- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/client/gulpfile.js b/client/gulpfile.js index e9ecbc2..88f77f2 100644 --- a/client/gulpfile.js +++ b/client/gulpfile.js @@ -51,14 +51,14 @@ gulp.task('css', function() { gulp.task('html_debug', function() { var sources = gulp.src(paths.js.concat(paths.css), { read: false }); return gulp.src(paths.html) - .pipe(inject(sources)) + .pipe(inject(sources, { addRootSlash: false })) .pipe(gulp.dest('./')); }); gulp.task('html_release', function() { var sources = gulp.src(['./dist/*.js', './dist/*.css'], { read: false }); return gulp.src(paths.html) - .pipe(inject(sources)) + .pipe(inject(sources, { addRootSlash: false })) .pipe(gulp.dest('./')); }); diff --git a/client/index.html b/client/index.html index 1a9b296..1907f2c 100644 --- a/client/index.html +++ b/client/index.html @@ -4,10 +4,10 @@ Reactive Search - - - - + + + + @@ -163,15 +163,15 @@ - - - - - - - - - + + + + + + + + +