Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Readarr/src/commit/f7076c6c5b14e08944e0a779c081f653d479125f/frontend/gulp/imageMin.js You should set ROOT_URL correctly, otherwise the web may not work correctly.
Readarr/frontend/gulp/imageMin.js

16 lines
421 B

var gulp = require('gulp');
var print = require('gulp-print');
var paths = require('./helpers/paths.js');
gulp.task('imageMin', () => {
var imagemin = require('gulp-imagemin');
return gulp.src(paths.src.images)
.pipe(imagemin({
progressive: false,
optimizationLevel: 4,
svgoPlugins: [{ removeViewBox: false }]
}))
.pipe(print())
.pipe(gulp.dest(paths.src.content + 'Images/'));
});