This commit is contained in:
Tomáš Dvořák
2025-10-03 17:53:02 +02:00
parent de415df1a9
commit 72f5cce5e3
2 changed files with 3 additions and 4 deletions
+2 -3
View File
@@ -7,11 +7,10 @@ export default defineConfig({
port: 3000,
open: true,
proxy: {
// Proxy all /logos/* requests to the backend
'^/logos/.*': {
'/api': {
target: process.env.VITE_API_URL || 'http://localhost:8080',
changeOrigin: true,
secure: false
rewrite: (path) => path.replace(/^\/api/, '')
}
}
},