From fe2c0a019aec71415a4bc245f7fd51d9e445db2a Mon Sep 17 00:00:00 2001 From: Edie Lemoine Date: Mon, 15 Apr 2024 14:44:17 +0200 Subject: [PATCH] build: fix netlify previews --- apps/sandbox/vite.config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/sandbox/vite.config.ts b/apps/sandbox/vite.config.ts index 2dc4ab0e..5bec1785 100644 --- a/apps/sandbox/vite.config.ts +++ b/apps/sandbox/vite.config.ts @@ -13,7 +13,7 @@ export default defineConfig(({mode}) => { return { plugins: [vue(), customTsConfig({tsConfigPath: 'tsconfig.base.json'})], - base: isProd ? '/delivery-options/' : '/', + base: isProd && !process.env.NETLIFY ? '/delivery-options/' : '/', server: { port: PORT,