diff --git a/module2/08_docker_containerization_advanced/todo_app/todo_ui/vite.config.js b/module2/08_docker_containerization_advanced/todo_app/todo_ui/vite.config.js index 7805913..940bf9b 100644 --- a/module2/08_docker_containerization_advanced/todo_app/todo_ui/vite.config.js +++ b/module2/08_docker_containerization_advanced/todo_app/todo_ui/vite.config.js @@ -19,7 +19,7 @@ export default defineConfig({ build: { outDir: path.resolve(currentDir, 'wwwroot') }, - base: (process.env.BASE_PATH.replace(/\/$/, '') ?? '') + '/', + base: ((process.env.BASE_PATH ?? '').replace(/\/$/, '') ?? '') + '/', server: { port: 8080, hot: true,