Skip to content

Commit 25f5e31

Browse files
v0.4.9: chat streaming API, DB config changes, sockets improvement, var highlighting, bug fixes
2 parents 174f6a4 + 7bdf0e9 commit 25f5e31

File tree

116 files changed

+9627
-2558
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

116 files changed

+9627
-2558
lines changed

apps/docs/components/ui/lightbox.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
'use client'
22

33
import { useEffect, useRef } from 'react'
4-
import { getVideoUrl } from '@/lib/utils'
4+
import { getAssetUrl } from '@/lib/utils'
55

66
interface LightboxProps {
77
isOpen: boolean
@@ -60,7 +60,7 @@ export function Lightbox({ isOpen, onClose, src, alt, type }: LightboxProps) {
6060
/>
6161
) : (
6262
<video
63-
src={getVideoUrl(src)}
63+
src={getAssetUrl(src)}
6464
autoPlay
6565
loop
6666
muted

apps/docs/components/ui/video.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
'use client'
22

33
import { useState } from 'react'
4-
import { getVideoUrl } from '@/lib/utils'
4+
import { getAssetUrl } from '@/lib/utils'
55
import { Lightbox } from './lightbox'
66

77
interface VideoProps {
@@ -39,7 +39,7 @@ export function Video({
3939
muted={muted}
4040
playsInline={playsInline}
4141
className={`${className} ${enableLightbox ? 'cursor-pointer transition-opacity hover:opacity-90' : ''}`}
42-
src={getVideoUrl(src)}
42+
src={getAssetUrl(src)}
4343
onClick={handleVideoClick}
4444
/>
4545

0 commit comments

Comments
 (0)