From d20f5fc59da9ab3b936c49f8cdd1a2a1a95b18a8 Mon Sep 17 00:00:00 2001 From: Diego Andres Ramirez Mejia <157324739+DiegoAndresRamirez@users.noreply.github.com> Date: Sun, 3 Nov 2024 14:18:16 -0500 Subject: [PATCH] Update vite.config.js --- vite.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vite.config.js b/vite.config.js index 3877d2a..e5217c6 100644 --- a/vite.config.js +++ b/vite.config.js @@ -18,6 +18,6 @@ export default defineConfig({ }), ], - base: /build/, // Asegura que las URLs usen HTTPS en producción + base: (process.env.APP_URL ? process.env.APP_URL + '/build/' : '/'), // Asegura que las URLs usen HTTPS en producción //https://url-base/build/assets/... });