-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env
More file actions
28 lines (19 loc) · 983 Bytes
/
Copy path.env
File metadata and controls
28 lines (19 loc) · 983 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# React Frontend Configuration
# Using Vite proxy - no need for full URL
VITE_API_URL=/api
#VITE_API_URL=http://localhost:8080/sinath-travels/server/api
# VITE_API_URL=http://127.0.0.1:8080/sinath-travels/server/api
# Note: Adjust the URL based on your server setup
# For local development with XAMPP/WAMP:
# VITE_API_URL=http://localhost/sinath-travels/server/api
# For production:
# VITE_API_URL=https://yourdomain.com/server/api
# React Frontend Configuration
# Use your network IP to match where your frontend is running
# XAMPP port 8080 එකට match වෙන විදියට update කරලා තියෙන්නේ
VITE_API_URL=http://localhost:8080/sinath-travels/server/api
#VITE_API_URL=http://localhost:8080/server/api
#VITE_API_URL=http://192.168.8.101:5000/server/api
# Alternative options (uncomment one if above doesn't work):
# VITE_API_URL=http://localhost/sinath-travels/server/api
#VITE_API_URL=http://127.0.0.1:8080/sinath-travels/server/api