Update environment variables, add fingerprinting, and refactor API endpoints

- Changed server socket and REST API base URLs in .env file.
- Added FingerprintJS dependencies to package.json and package-lock.json.
- Implemented fingerprint generation in UserAuth component.
- Updated API endpoints from v1 to v2 in various service files.
- Refactored API calls to include authorization tokens.
- Commented out console log statements for cleaner production code.
This commit is contained in:
2025-05-26 17:58:46 +05:30
parent b99981a661
commit b76213f49f
22 changed files with 206 additions and 94 deletions

View File

@@ -57,7 +57,7 @@ const ZoneProperties: React.FC = () => {
};
// Call your API to update the zone
let response = await zoneCameraUpdate(zonesdata, organization);
console.log("response: ", response);
// console.log("response: ", response);
if (response.message === "updated successfully") {
setZones((prevZones: any[]) =>
prevZones.map((zone) =>