Docker Update and Fixes

This commit is contained in:
2026-01-25 17:36:15 +00:00
parent b7b718d4ca
commit 295be1ed8e
21 changed files with 886 additions and 289 deletions

View File

@@ -5,6 +5,9 @@ import tailwindcss from '@tailwindcss/vite'
const host = process.env.TAURI_DEV_HOST;
// Backend API URL for development proxy
const API_TARGET = process.env.API_URL || 'http://localhost:5000';
export default defineConfig(async () => ({
plugins: [sveltekit(), tailwindcss()],
clearScreen: false,
@@ -22,5 +25,13 @@ export default defineConfig(async () => ({
watch: {
ignored: ["**/src-tauri/**"],
},
// Proxy API requests to backend during development
proxy: {
'/api': {
target: API_TARGET,
changeOrigin: true,
secure: false,
}
}
},
}));