diff --git a/vite.config.js b/vite.config.js index 5104fcf..ecd070e 100644 --- a/vite.config.js +++ b/vite.config.js @@ -2,4 +2,5 @@ * @type {import('vite').UserConfig} */ export default { + base: process.env.NODE_ENV === 'production' ? '/threejs-procedural-planets/' : '' } \ No newline at end of file