From 6c8cd72e52cf7d483bbd91842012e7cd47f46b12 Mon Sep 17 00:00:00 2001 From: userquin Date: Fri, 26 May 2023 12:00:22 +0200 Subject: [PATCH] chore: revert baseURL from public assets --- modules/build-env.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/build-env.ts b/modules/build-env.ts index 9052dd94..3f5656d0 100644 --- a/modules/build-env.ts +++ b/modules/build-env.ts @@ -29,8 +29,8 @@ export default defineNuxtModule({ nuxt.options.nitro.publicAssets = nuxt.options.nitro.publicAssets || [] if (env === 'dev') - nuxt.options.nitro.publicAssets.unshift({ dir: resolve('../public-dev'), baseURL: '/' }) + nuxt.options.nitro.publicAssets.unshift({ dir: resolve('../public-dev') }) else if (env === 'canary' || env === 'preview' || !isCI) - nuxt.options.nitro.publicAssets.unshift({ dir: resolve('../public-staging'), baseURL: '/' }) + nuxt.options.nitro.publicAssets.unshift({ dir: resolve('../public-staging') }) }, })