retrying issue in the upload section solve

This commit is contained in:
sumona-banerjeee
2026-02-25 11:42:44 +05:30
parent 90fc49d5af
commit e461ee109f
2 changed files with 2 additions and 2 deletions

View File

@@ -19,7 +19,7 @@ import {
import { storeVideoFile } from "@/lib/video-storage"
const API_URL = process.env.NEXT_PUBLIC_API_URL
const WS_URL = API_URL?.replace(/^https?:\/\//, "wss://")
const WS_URL = API_URL?.replace(/^https:\/\//, "wss://").replace(/^http:\/\//, "ws://")
type DetectionType = "pothole-detection" | "sign-board-detection" | "pot-sign-detection"