Remove /live from stream path

This commit is contained in:
2023-06-30 12:19:17 +01:00
parent 17d1a11c30
commit f4ea779b0f
3 changed files with 6 additions and 2 deletions

View File

@ -13,7 +13,7 @@ export function VideoTile({ ev }: { ev: NostrEvent }) {
const isLive = status === "live";
const link = encodeTLV(NostrPrefix.Address, id, undefined, ev.kind, ev.pubkey);
return <Link to={`/live/${link}`} className="video-tile" ref={ref}>
return <Link to={`/${link}`} className="video-tile" ref={ref}>
<div style={{
backgroundImage: `url(${inView ? image : ""})`
}}>