From 17a8cadee66247cb32f6587f9c073c278f4f4c2c Mon Sep 17 00:00:00 2001 From: Dillon Ngo Date: Wed, 3 Jan 2024 00:03:52 +0800 Subject: [PATCH] Laravel Vapor - attempt to fix a missing asset (Error 403) --- gulpfile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gulpfile.js b/gulpfile.js index cc314101..567c63bb 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -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)); });