DONE: update to use ip for the api in frontend
This commit is contained in:
+5
-2
@@ -2,8 +2,11 @@ ADMIN_HOST_PORT=5000
|
||||
TELLER_HOST_PORT=3001
|
||||
CUSTOMER_HOST_PORT=3000
|
||||
|
||||
VITE_API_URL=https://qms-api.erahn.com.my
|
||||
NEXT_PUBLIC_API_URL=https://qms-api.erahn.com.my
|
||||
# Baked into images at build time (set matching Gitea secrets too)
|
||||
VITE_API_URL=http://YOUR_SERVER_IP:8080
|
||||
NEXT_PUBLIC_API_URL=http://YOUR_SERVER_IP:8080
|
||||
# Admin branch QR only — public customer domain for scanned links
|
||||
VITE_BRANCH_QR_BASE_URL=https://qms-customer.erahn.com.my
|
||||
|
||||
QR_TOKEN_SECRET=qms-branch-qr-v1
|
||||
|
||||
|
||||
Reference in New Issue
Block a user