Skip to content

Conversation

@kittors
Copy link

@kittors kittors commented Feb 12, 2025

Pull Request Type

  • ✨ feat
  • πŸ› fix
  • ♻️ refactor
  • πŸ’„ style
  • πŸ”¨ chore
  • πŸ“ docs

What is in this change?

  • Added Vite proxy configuration to forward requests to the backend at http://localhost:3001.
  • Configured Vite server to listen on port 3000 and forward requests matching the VITE_API_BASE environment variable to the back-end API.

Additional Information

  • This change is mainly for local development, enabling the Vite development server to act as a proxy to an existing backend server.
  • I think you can update the VITE_API_BASE in .env to "/api".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants