-added cam base for api calls

This commit is contained in:
2025-10-09 14:21:59 +01:00
parent 582bd075d1
commit 9f3674e460

View File

@@ -15,7 +15,7 @@ const getAllBlackboardData = async () => {
};
const viewBlackboardData = async (options: CameraBlackBoardOptions) => {
const response = await fetch(`/api/blackboard`, {
const response = await fetch(`${CAM_BASE}/api/blackboard`, {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify(options),