refactor: NPED Context, sound update and start session

This commit is contained in:
2025-09-25 10:38:49 +01:00
parent efd037754e
commit 80b407943f
20 changed files with 96 additions and 39 deletions

View File

@@ -1,6 +1,7 @@
import { Form, Formik } from "formik";
import type { HotlistUploadType } from "../../../types/types";
import { useSystemConfig } from "../../../hooks/useSystemConfig";
import { CAM_BASE } from "../../../utils/config";
const NPEDHotlist = () => {
const { uploadSettings } = useSystemConfig();
@@ -14,7 +15,7 @@ const NPEDHotlist = () => {
opts: {
timeoutMs: 30000,
fieldName: "upload",
uploadUrl: "http://192.168.0.90:8080/upload/hotlist-upload/2",
uploadUrl: `${CAM_BASE}/upload/hotlist-upload/2`,
},
};