Files
hats-app/.env.development
T
Ichsan Kurniawan 5cbded392a Add server API helper, logging & misc updates
Introduce a reusable serverApiCall helper and file-based logger (lib/server-api.ts, lib/logger.ts) to centralize backend requests, attach session auth, and capture request/response/error logs. Update server actions to use the new helper (updateProfileAction, changeAvatarAction) and ensure profile revalidation. Add client-side avatar upload size limit (5MB) and normalize avatar base64 payload. Add new OpenGraph/Twitter images, bump app version to v1.1.1, and add a v1.1.1 entry in release notes. Update default API/IMG env URLs and metadataBase fallback, fix minor release-notes link capitalization, and adjust a debug console.log in admin user page.
2026-02-09 14:48:03 +07:00

22 lines
854 B
Bash

BASE_PATH = ""
NEXT_PUBLIC_APP_URL="http://localhost:1209"
# BASE_URL_API = https://hats-his.nutech-integrasi.com/presence-api/api/v1
# BASE_URL_IMG = https://hats-his.nutech-integrasi.com/presence-api/
# BASE_URL_API = https://his.nutech-integrasi.com/presence-api/api/v1
# BASE_URL_IMG = https://his.nutech-integrasi.com/presence-api/
BASE_URL_API = https://api-hats.hisnutech.my.id/api/v1
BASE_URL_IMG = https://api-hats.hisnutech.my.id/
NEXTAUTH_URL = http://localhost:1209
# NEXTAUTH_URL = http://localhost:7090/super-apps/api/auth
NEXTAUTH_SECRET = hissuperappssecretcode2025
FIREBASE_API_KEY = AIzaSyAEkZCHhnyatsNiZ2dpjeaz6JqXYknKKHk
FIREBASE_APP_ID = "1:422528660020:web:db16e1cba4d357e32f1061"
DEVICE_CODE = "40001"
NEXT_PUBLIC_HATS_SUPPORT_NAME = "Amalia"
NEXT_PUBLIC_HATS_SUPPORT_PHONE = "6285214074002"
NEXT_PUBLIC_APP_VERSION = "v1.1.1"