From 5fce236449de2e0a24cd19242f3b7d8ecd885545 Mon Sep 17 00:00:00 2001 From: Dillon Ngo Date: Tue, 2 Jan 2024 23:20:23 +0800 Subject: [PATCH] Laravel Vapor - attempt to fix a missing asset (Error 403) --- gulpfile.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index 37f57778..fa5fc24f 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -17,7 +17,7 @@ const onError = (error) => { const sassOptions = {style: 'compressed'}; //cief todo: gulp -const ASSET_URL = process.env.ASSET_URL; +// const ASSET_URL = process.env.ASSET_URL; gulp.task('vendorJs', () => { @@ -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)); });