Skip to content

Commit 1e40c66

Browse files
docs(frontend): Fix proxy configuration example to match actual implementation
The README proxy configuration example incorrectly used process.env instead of the env variable from loadEnv. Changes: - Update proxy target to use env.VITE_BACKEND_URL (not process.env) - Ensure documentation matches vite.config.js implementation - Maintain consistency across all Vite configuration examples Addresses CodeRabbit critical feedback on PR #1607. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 6e50886 commit 1e40c66

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ Backend API calls are automatically proxied in development:
185185
server: {
186186
proxy: {
187187
'/api': {
188-
target: process.env.VITE_BACKEND_URL,
188+
target: env.VITE_BACKEND_URL,
189189
changeOrigin: true,
190190
secure: false,
191191
},

0 commit comments

Comments
 (0)