DONE: update to use ip for the api in frontend
This commit is contained in:
@@ -2,12 +2,16 @@ 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)
|
||||
# API uses IP:port; apps are reached via IP:port (nginx maps domains)
|
||||
VITE_API_URL=http://172.16.6.200:8080
|
||||
NEXT_PUBLIC_API_URL=http://172.16.6.200: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
|
||||
|
||||
ADMIN_IMAGE=git.koppkb.com/kopkb/qms-fe-admin
|
||||
TELLER_IMAGE=git.koppkb.com/kopkb/qms-fe-teller
|
||||
CUSTOMER_IMAGE=git.koppkb.com/kopkb/qms-fe-customer
|
||||
IMAGE_TAG=local
|
||||
IMAGE_TAG=local
|
||||
|
||||
Reference in New Issue
Block a user