refactor WebSocket and fetch API URLs to use environment variables for better configuration
This commit is contained in:
7
Frontend/.env.example
Normal file
7
Frontend/.env.example
Normal file
@@ -0,0 +1,7 @@
|
||||
# Monaco Frontend Environment Variables
|
||||
|
||||
# Backend API URL (Monaco code execution server)
|
||||
VITE_API_URL=http://localhost:8080
|
||||
|
||||
# Faculty API URL (Faculty/Student management backend)
|
||||
VITE_FACULTY_API_URL=http://localhost:5000/api
|
||||
Reference in New Issue
Block a user