added sounds, updated nped config and tweaks + code quality improvements
This commit is contained in:
@@ -5,7 +5,6 @@ import { CAM_BASE } from "../utils/config";
|
||||
const apiUrl = CAM_BASE;
|
||||
|
||||
async function fetchSnapshot(cameraSide: string) {
|
||||
console.log(`${apiUrl}/${cameraSide}-preview`);
|
||||
const response = await fetch(`${apiUrl}/${cameraSide}-preview`);
|
||||
if (!response.ok) {
|
||||
throw new Error("Cannot reach endpoint");
|
||||
|
||||
Reference in New Issue
Block a user