Merge API remote base URL config into dev

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Oleksandr Bezdieniezhnykh
2026-06-24 18:19:02 +03:00
9 changed files with 26 additions and 18 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
import { useRef, useState, useCallback, useEffect, forwardRef, useImperativeHandle } from 'react'
import { endpoints } from '../../api'
import { endpoints, authenticatedApiUrl } from '../../api'
import type { Media } from '../../types'
interface Props {
@@ -49,7 +49,7 @@ const VideoPlayer = forwardRef<VideoPlayerHandle, Props>(function VideoPlayer({
const videoUrl = media.path.startsWith('blob:')
? media.path
: endpoints.annotations.mediaFile(media.id)
: authenticatedApiUrl(endpoints.annotations.mediaFile(media.id))
const stepFrames = useCallback((count: number) => {
const video = videoRef.current