diff --git a/index.html b/index.html index 8d90c3a..355aac4 100644 --- a/index.html +++ b/index.html @@ -2,17 +2,17 @@ - + - - - - + + + + Farm Control diff --git a/vite.config.js b/vite.config.js index 4471ae8..ceccabf 100644 --- a/vite.config.js +++ b/vite.config.js @@ -11,7 +11,7 @@ const __filename = fileURLToPath(import.meta.url) const __dirname = path.dirname(__filename) export default defineConfig({ - base: '/', + base: './', // Required for Electron file:// protocol - absolute paths fail resolve: { alias: { three: path.resolve(__dirname, 'node_modules/three')