diff --git a/src/components/SettingForms/Channel1-JSON/ChannelFields.tsx b/src/components/SettingForms/Channel1-JSON/ChannelFields.tsx index 1c8dbaa..24cde7c 100644 --- a/src/components/SettingForms/Channel1-JSON/ChannelFields.tsx +++ b/src/components/SettingForms/Channel1-JSON/ChannelFields.tsx @@ -173,8 +173,8 @@ const ChannelFields = ({ touched, isSubmitting, format }: ChannelFieldsProps) => className="p-2 border border-gray-400 rounded-lg text-white bg-[#253445] w-full md:w-60" > - - + + diff --git a/src/hooks/useCameraBlackboard.ts b/src/hooks/useCameraBlackboard.ts index c7ec05c..6c31236 100644 --- a/src/hooks/useCameraBlackboard.ts +++ b/src/hooks/useCameraBlackboard.ts @@ -17,7 +17,7 @@ const getAllBlackboardData = async () => { }; const viewBlackboardData = async (options: CameraBlackBoardOptions) => { - const response = await fetch(`/${camBase}api/blackboard`, { + const response = await fetch(`${camBase}/api/blackboard`, { method: "POST", headers: { "Content-Type": "application/json" }, body: JSON.stringify(options),