Skip to content

Commit

Permalink
Вынес дополнительные файлы сборки в assets
Browse files Browse the repository at this point in the history
  • Loading branch information
ivankudinov committed Oct 12, 2016
1 parent 748879a commit 0291e3d
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 1 deletion.
11 changes: 11 additions & 0 deletions assets/404.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>СМИ2 clickhouse</title>
<body>
<script>
location.href = location.href.replace(/(\:\/\/[^/]+\/)/, '$1#!/');
</script>
</body>
</html>
File renamed without changes.
11 changes: 11 additions & 0 deletions docs/404.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>СМИ2 clickhouse</title>
<body>
<script>
location.href = location.href.replace(/(\:\/\/[^/]+\/)/, '$1#!/');
</script>
</body>
</html>
2 changes: 1 addition & 1 deletion gulp/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ gulp.task('clean', function() {
});

gulp.task('cname', function() {
return gulp.src('./CNAME').pipe(gulp.dest(path.join(conf.paths.dist, '/')));
return gulp.src('./assets/*').pipe(gulp.dest(path.join(conf.paths.dist, '/')));
});

gulp.task('build', ['html', 'fonts', 'other', 'cname']);

0 comments on commit 0291e3d

Please sign in to comment.