diff --git a/vite.config.js b/vite.config.js index 9fc448e..f83b5d2 100644 --- a/vite.config.js +++ b/vite.config.js @@ -17,5 +17,6 @@ export default defineConfig({ }, }), ], - base: process.env.APP_URL || '/', // 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/... });