dev: UPEND_PROXY_URL env var to point dev proxy elsewhere

This commit is contained in:
Tomáš Mládek 2024-08-16 16:54:16 +02:00
parent c935832644
commit 08a67af1cf

View file

@ -17,7 +17,7 @@ export default defineConfig({
server: {
proxy: {
'/api': {
target: 'http://localhost:8093/'
target: process.env.UPEND_PROXY_URL || 'http://localhost:8093/'
}
}
}