mirror of
https://github.com/ichsankurnia/hats-app.git
synced 2026-12-05 11:06:29 +00:00
Route server requests through local API
Use BASE_URL_API_LOCAL_SERVER for server-side data requests and load the layout session through the cached helper. Update production URLs to HTTPS and use 127.0.0.1 for local API endpoints.
This commit is contained in:
+1
-1
@@ -1,7 +1,7 @@
|
||||
BASE_PATH = ""
|
||||
NEXT_PUBLIC_APP_URL="https://dev-hats.hisnutech.my.id"
|
||||
|
||||
BASE_URL_API_LOCAL_SERVER = http://localhost:7004/api/v1
|
||||
BASE_URL_API_LOCAL_SERVER = http://127.0.0.1:7004/api/v1
|
||||
BASE_URL_API = https://api-hats-dev.hisnutech.my.id/api/v1
|
||||
BASE_URL_IMG = https://api-hats.hisnutech.my.id/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user