Laravel Vapor - attempt to fix a missing asset (Error 403)

This commit is contained in:
Dillon Ngo
2024-01-03 00:03:52 +08:00
parent ee656f28b0
commit 17a8cadee6
Vendored
+1 -1
View File
@@ -40,7 +40,7 @@ gulp.task('vendorCss', () => {
.pipe(plugins.cleanCss())
.pipe(plugins.replace('../../../font-awesome/', './'))
.pipe(plugins.replace('../../jquery-ui-dist/', ''))
.pipe(plugins.replace(/background-image:url\(\.\.\/\.\./g, `background-image:url(../../${ASSET_URL}`)) //cief todo: gulp
.pipe(plugins.replace(/background-image:url\(\.\.\/\.\./g, `background-image:url(${ASSET_URL}../`)) //cief todo: gulp
.pipe(gulp.dest(pkg.paths.build.css));
});