upgrade all urls to https

This commit is contained in:
Matt Walsh
2021-09-29 15:34:24 -05:00
parent 6349166dbe
commit fecbfaaf10
3 changed files with 906 additions and 659 deletions

View File

@@ -73,7 +73,8 @@ const htmlSources = [
'views/*.ejs',
];
gulp.task('compress_html', () => {
const { version } = JSON.parse(fs.readFileSync('./package.json'));
// eslint-disable-next-line global-require
const { version } = require('../package.json');
return gulp.src(htmlSources)
.pipe(ejs({
production: version,